Permalink
Browse files

add root-image in install

  • Loading branch information...
1 parent 2720b20 commit c8db43fc339da9b7cd0de3bcc4b779c33d456449 Your Name committed Oct 10, 2011
View
0 aitab 100644 → 100755
No changes.
View
4 build.sh 100644 → 100755
@@ -22,10 +22,10 @@ make_basefs() {
make_customize_root_image() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
# copy march config
- cp -r ${script_path}/root-image ${work_dir}
+ cp -r ${script_path}/root-image/ ${work_dir}
cp ${script_path}/sai_config ${work_dir}/root-image/sai/
cp ${script_path}/packages.list ${work_dir}/root-image/sai/
- cp -r ${script_path}/root-image/etc ${work_dir}/root-image/sai/
+ cp -r ${script_path}/root-image/ ${work_dir}/root-image/sai/
# change permission
chmod 440 ${work_dir}/root-image/etc/sudoers
chmod 755 ${work_dir}/root-image/install
View
0 isolinux/isolinux.cfg 100644 → 100755
No changes.
View
0 mkinitcpio.conf 100644 → 100755
No changes.
View
0 packages.list 100644 → 100755
No changes.
View
0 root-image/etc/rc.local 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0 root-image/etc/skel/.xinitrc 100644 → 100755
No changes.
View
0 root-image/etc/sudoers 100644 → 100755
No changes.
View
0 root-image/install 100644 → 100755
No changes.
File renamed without changes.
View
0 root-image/sai/sai 100644 → 100755
No changes.
View
0 root-image/sai/sai_lib 100644 → 100755
No changes.
View
2 sai_config 100644 → 100755
@@ -4,7 +4,7 @@ sai_config() {
say "$FUNCNAME: March customized"
if [[ ! -f /tmp/$FUNCNAME ]]; then
# copy march config
- cp -r /sai/etc /mnt/
+ cp -r /sai/root-image/* /mnt/
# setup rc.conf
sed -i -e "s|^HOSTNAME=.*|HOSTNAME=localhost|" -e "s|^DAEMONS=.*|DAEMONS=(dbus @alsa @wicd @cupsd)|" /mnt/etc/rc.conf
# adduser
View
0 syslinux/syslinux.cfg 100644 → 100755
No changes.

0 comments on commit c8db43f

Please sign in to comment.