Diff for /elwix/build_fs.sh between versions 1.7.2.13 and 1.8.2.1

version 1.7.2.13, 2013/08/05 11:59:10 version 1.8.2.1, 2013/08/06 07:33:37
Line 81  build_fsdir() Line 81  build_fsdir()
 # home  # home
         install -d home;          install -d home;
 # root  # root
        install -d -m 0700 root;        install -d -m 0750 root;
 # pkg  # pkg
         install -d pkg;          install -d pkg;
         install -d pkg/db;          install -d pkg/db;
Line 112  install_fsdir() Line 112  install_fsdir()
         install -v ${REL}/${ROOTFS_KERN} $1/boot/kernel/kernel.gz          install -v ${REL}/${ROOTFS_KERN} $1/boot/kernel/kernel.gz
   
         case "$2" in          case "$2" in
                [Ll][Ii][Tt][Ee]_128)                [Ee][Xx][Tt])
                         install -d $1/usr                          install -d $1/usr
                         cd $1/usr                          cd $1/usr
                         pax -r -z -pe -f ${REL}/${ROMFS_IMG}                          pax -r -z -pe -f ${REL}/${ROMFS_IMG}
Line 123  install_fsdir() Line 123  install_fsdir()
                         pax -r -z -pe -f ${REL}/${ROMFS_IMG2}                          pax -r -z -pe -f ${REL}/${ROMFS_IMG2}
                         cd -                          cd -
   
                        OSZ=${REL}/${OS_LITE128}                        OSZ=${REL}/${OS_EXT}
                         ;;                          ;;
                 [Ll][Ii][Tt][Ee])  
                         install -d $1/usr  
                         cd $1/usr  
                         pax -r -z -pe -f ${REL}/${ROMFS_IMG}  
                         cd -  
   
                         OSZ=${REL}/${OS_LITE}  
                         ;;  
                 *)                  *)
                         install -v ${REL}/${ROMFS_IMG} \                          install -v ${REL}/${ROMFS_IMG} \
                                 $1/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH}                                  $1/altroot/elwix-firmware-${VERSION}_${TARGET_ARCH}
Line 167  if [ ! -r ${REL}/${ROOTFS_KERN} -o ! -r ${REL}/${ROMFS Line 159  if [ ! -r ${REL}/${ROOTFS_KERN} -o ! -r ${REL}/${ROMFS
 fi  fi
   
 clean_fsdir ${FS} ${REL}/${OS}  clean_fsdir ${FS} ${REL}/${OS}
clean_fsdir ${FS_LITE} ${REL}/${OS_LITE}clean_fsdir ${FS_EXT} ${REL}/${OS_EXT}
#clean_fsdir ${FS_LITE128} ${REL}/${OS_LITE128} 
   
 build_fsdir ${FS}  build_fsdir ${FS}
#build_fsdir ${FS_LITE}build_fsdir ${FS_EXT}
#build_fsdir ${FS_LITE128} 
   
 MakeFS_home ${FS}  MakeFS_home ${FS}
#MakeFS_home ${FS_LITE}MakeFS_home ${FS_EXT}
#MakeFS_home ${FS_LITE128} 
   
 MakeFS_var ${FS} ${FS_ETC}  MakeFS_var ${FS} ${FS_ETC}
#MakeFS_var ${FS_LITE} ${FS_ETC}MakeFS_var ${FS_EXT} ${FS_EXT_ETC}
#MakeFS_var ${FS_LITE128} ${FS_ETC} 
   
 MakeFS_etc ${FS} ${FS_ETC}  MakeFS_etc ${FS} ${FS_ETC}
#MakeFS_etc ${FS_LITE} ${FS_ETC} liteMakeFS_etc ${FS_EXT} ${FS_EXT_ETC} ext
#MakeFS_etc ${FS_LITE128} ${FS_ETC} lite_128 
   
 create_etc_fstab ${FS}  create_etc_fstab ${FS}
#create_etc_fstab ${FS_LITE} litecreate_etc_fstab ${FS_EXT} ext
#create_etc_fstab ${FS_LITE128} lite_128 
   
 MakeFS_backup ${FS}  MakeFS_backup ${FS}
#MakeFS_backup ${FS_LITE}MakeFS_backup ${FS_EXT}
#MakeFS_backup ${FS_LITE128} 
   
 MakeFS_boot ${FS}  MakeFS_boot ${FS}
#MakeFS_boot ${FS_LITE}MakeFS_boot ${FS_EXT}
#MakeFS_boot ${FS_LITE128} 
   
 install_fsdir ${FS}  install_fsdir ${FS}
#install_fsdir ${FS_LITE} liteinstall_fsdir ${FS_EXT} ext
#install_fsdir ${FS_LITE128} lite_128 
   
 echo "+++ Complete build ELWIX FS"  echo "+++ Complete build ELWIX FS"
 echo "ELWIX finish version ${VERSION}, Good luck!"  echo "ELWIX finish version ${VERSION}, Good luck!"

Removed from v.1.7.2.13  
changed lines
  Added in v.1.8.2.1


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