Diff for /elwix/build_rootfs.sh between versions 1.8.2.4 and 1.8.2.8

version 1.8.2.4, 2014/01/17 11:23:12 version 1.8.2.8, 2014/07/01 19:36:35
Line 76  srcdirs ${BSDSRC}/secure/usr.bin ${BSDSRC}/secure/usr. Line 76  srcdirs ${BSDSRC}/secure/usr.bin ${BSDSRC}/secure/usr.
   
 buildopts TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF}  buildopts TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF}
 buildopts -DNO_PAM -DNO_KERBEROS WITHOUT_PAM_SUPPORT=yes WITHOUT_KERBEROS_SUPPORT=yes WITHOUT_KERBEROS=yes  buildopts -DNO_PAM -DNO_KERBEROS WITHOUT_PAM_SUPPORT=yes WITHOUT_KERBEROS_SUPPORT=yes WITHOUT_KERBEROS=yes
   buildopts -DMK_CASPER=no WITHOUT_CASPER=yes
 _EOF  _EOF
         cat $CFGDIR/$ROOTFS_CONF >>$ROOTFS_CONF          cat $CFGDIR/$ROOTFS_CONF >>$ROOTFS_CONF
   
Line 83  _EOF Line 84  _EOF
         env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix crunchgen -f \          env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix crunchgen -f \
                 -h $ROOTFS_MKDIR/$MKH -m $MKF \                  -h $ROOTFS_MKDIR/$MKH -m $MKF \
                 -c elwix.c -e elwix $ROOTFS_CONF                  -c elwix.c -e elwix $ROOTFS_CONF
           if [ $? -ne 0 ]; then
                   exit 1
           fi
         cd -          cd -
 }  }
   
Line 90  build_elwix() Line 94  build_elwix()
 {  {
         echo "+++ Build ELWIX RootFS firmware ..."          echo "+++ Build ELWIX RootFS firmware ..."
         cd $ROOTFS_MKDIR          cd $ROOTFS_MKDIR
        env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix ${CBUILD} -f $MKF \        env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \
                 TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \                  TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
                 ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} clean                  ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} clean
        env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix ${CBUILD} -f $MKF \        env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \
                 TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \                  TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
                 ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF}                  ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF}
         if [ $? -ne 0 ]; then          if [ $? -ne 0 ]; then
Line 162  install_rootfs() Line 166  install_rootfs()
         ln -s $PRG $BIN/chio          ln -s $PRG $BIN/chio
         ln -s $PRG $BIN/chmod          ln -s $PRG $BIN/chmod
         ln -s $PRG $BIN/cp          ln -s $PRG $BIN/cp
           ln -s $PRG $BIN/csh
           ln -s $PRG $BIN/-csh
           ln -s $PRG $BIN/tcsh
           ln -s $PRG $BIN/-tcsh
         ln -s $PRG $BIN/date          ln -s $PRG $BIN/date
         ln -s $PRG $BIN/dd          ln -s $PRG $BIN/dd
         ln -s $PRG $BIN/df          ln -s $PRG $BIN/df
Line 371  install_rootfs() Line 379  install_rootfs()
         echo "+++ ELWIX clean CVS tags ..."          echo "+++ ELWIX clean CVS tags ..."
         CleanCVS $ETC          CleanCVS $ETC
         CleanCVS $ETC/etc          CleanCVS $ETC/etc
           echo
 }  }
   
 build_image()  build_image()
Line 398  install_image() Line 407  install_image()
 ### main()  ### main()
 if SnitVer ${WORLD}/elwix.ver; then  if SnitVer ${WORLD}/elwix.ver; then
         clean_elwix          clean_elwix
        prepare_elwix        prepare_elwix || exit 1
        build_elwix        build_elwix || exit 1
        exit 1 
   
        build_rootdir        build_rootdir || exit 1
        install_rootfs        install_rootfs || exit 1
   
        build_image        build_image || exit 1
        install_image        install_image || exit 1
 else  else
         echo "$? Skipped ELWIX RootFS build ..."          echo "$? Skipped ELWIX RootFS build ..."
 fi  fi

Removed from v.1.8.2.4  
changed lines
  Added in v.1.8.2.8


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