Diff for /elwix/build_fs.sh between versions 1.1.2.2 and 1.3.2.3

version 1.1.2.2, 2011/07/21 13:46:05 version 1.3.2.3, 2011/12/19 20:43:07
Line 74  build_fsdir() Line 74  build_fsdir()
         install -d -g daemon altroot/var/spool/output/lpd;          install -d -g daemon altroot/var/spool/output/lpd;
 # boot  # boot
         install -d boot;          install -d boot;
         install -d boot/defaults;  
         install -d boot/firmware;  
         install -d boot/kernel;  
         install -d boot/modules;  
         install -d boot/zfs;  
 # cf  # cf
         install -d cf;          install -d cf;
 # etc  # etc
Line 104  mkboot() Line 99  mkboot()
         InstallDir ${WORLD}/boot $1/boot          InstallDir ${WORLD}/boot $1/boot
   
         install -m 644 ${CFGDIR}/boot/boot.config $1;          install -m 644 ${CFGDIR}/boot/boot.config $1;
         install -m 644 ${CFGDIR}/boot/beastie.4th $1/boot;  
   
           install -m 444 ${CFGDIR}/boot/beastie.4th $1/boot;
           install -m 444 ${CFGDIR}/boot/brand.4th $1/boot;
           install -m 444 ${CFGDIR}/boot/menu.4th $1/boot;
   
           install -m 444 ${KERNDEVHINTS} $1/boot/device.hints;
   
         if [ -r ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf ]; then          if [ -r ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf ]; then
                 install -m 644 ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf $1/boot/loader.conf;                  install -m 644 ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf $1/boot/loader.conf;
         else          else
Line 179  mketc() Line 179  mketc()
         chmod 0600 $1/etc/ssh/ssh_host_dsa_key;          chmod 0600 $1/etc/ssh/ssh_host_dsa_key;
         chmod 0600 $1/etc/ssh/ssh_host_key;          chmod 0600 $1/etc/ssh/ssh_host_key;
         chmod 0600 $1/etc/ssh/ssh_host_rsa_key;          chmod 0600 $1/etc/ssh/ssh_host_rsa_key;
           chmod 0600 $1/etc/ssh/ssh_host_ecdsa_key;
   
         chmod 0440 $1/etc/sudoers;          chmod 0440 $1/etc/sudoers;
   
Line 197  mketc() Line 198  mketc()
   
         create_etc_motd $1/etc/motd;          create_etc_motd $1/etc/motd;
         create_etc_fstab $1/etc/fstab;          create_etc_fstab $1/etc/fstab;
   
           echo "+++ ELWIX clean CVS tags ..."
           CleanCVS ${FS}
           CleanCVS ${FS}/etc
 }  }
   
 mkbackup()  mkbackup()
Line 231  install_fsdir() Line 236  install_fsdir()
   
         install -v ${REL}/${ROOTFS_KERN} ${FS}/boot/kernel          install -v ${REL}/${ROOTFS_KERN} ${FS}/boot/kernel
   
        install -v ${REL}/${ROMFS_IMG} ${FS}/elwix-firmware-${VERSION}_${TARGET_ARCH}        install -v ${REL}/${ROMFS_IMG} ${FS}/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH}
        ln -s /elwix/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/${ROMFS_IMG}        ln ${FS}/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/altroot/${ROMFS_IMG}
         ln -s /elwix/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH} ${FS}/${ROMFS_IMG}
   
         cd $FS          cd $FS
         tar -czvf ${REL}/${OS} .          tar -czvf ${REL}/${OS} .

Removed from v.1.1.2.2  
changed lines
  Added in v.1.3.2.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>