Diff for /elwix/build_fs.sh between versions 1.1.2.4 and 1.3.2.2

version 1.1.2.4, 2011/07/25 00:19:39 version 1.3.2.2, 2011/11/02 10:30:20
Line 99  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 174  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 226  install_fsdir() Line 232  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} .
Line 238  cleancvs() Line 245  cleancvs()
         echo "+++ ELWIX clean CVS tags ..."          echo "+++ ELWIX clean CVS tags ..."
   
         find $1 -type d -name CVS -exec rm -rf {} \; >/dev/null 2>&1          find $1 -type d -name CVS -exec rm -rf {} \; >/dev/null 2>&1
           find $1 -type f -name .#\* -exec rm -f {} \; >/dev/null 2>&1
 }  }
   
 ### main()  ### main()
Line 258  mkhome ${FS} Line 266  mkhome ${FS}
 mkvar ${FS}  mkvar ${FS}
 mketc ${FS}  mketc ${FS}
 cleancvs ${FS}  cleancvs ${FS}
   cleancvs ${FS}/etc
 mkbackup ${FS}  mkbackup ${FS}
   
 install_fsdir  install_fsdir

Removed from v.1.1.2.4  
changed lines
  Added in v.1.3.2.2


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