diff options
author | Renato Botelho <renato@netgate.com> | 2016-10-11 15:57:17 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-10-11 15:57:17 -0300 |
commit | 2ac4be3a6b52a266a571fda10456fd350c1d20d0 (patch) | |
tree | 57a76d84b1eeaa803587fa8d539e6ba73dcd570a /build.sh | |
parent | bd4e01942dec4788eff97b744907f8c93fdbdcaf (diff) | |
download | pfsense-2ac4be3a6b52a266a571fda10456fd350c1d20d0.zip pfsense-2ac4be3a6b52a266a571fda10456fd350c1d20d0.tar.gz |
Remove nanobsd related code from build scripts
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 21 |
1 files changed, 4 insertions, 17 deletions
@@ -20,11 +20,10 @@ set +e usage() { - echo "Usage $0 [options] [ iso | nanobsd | ova | nanobsd-vga | memstick | memstickserial | memstickadi | all | none ]" - echo " all = iso nanobsd nanobsd-vga memstick memstickserial memstickadi" + echo "Usage $0 [options] [ iso | ova | memstick | memstickserial | memstickadi | all | none ]" + echo " all = iso memstick memstickserial memstickadi" echo " none = upgrade only pkg repo" echo " [ options ]: " - echo " --flash-size|-f size(s) - a list of flash sizes to build with nanobsd i.e. '2g 4g'. Default: 2g" echo " --no-buildworld|-c - Will set NO_BUILDWORLD NO_BUILDKERNEL to not build kernel and world" echo " --no-cleanobjdir|-d - Will not clean FreeBSD object built dir to allow restarting a build with NO_CLEAN" echo " --resume-image-build|-r - Includes -c -d and also will just move directly to image creation using pre-staged data" @@ -70,15 +69,6 @@ while test "$1" != ""; do --no-cleanobjdir|-d) export NO_CLEAN_FREEBSD_OBJ=YES ;; - --flash-size|-f) - shift - if [ $# -eq 0 ]; then - echo "--flash-size needs extra parameter." - echo - usage - fi - export FLASH_SIZE="${1}" - ;; --resume-image-build|-r) export NO_BUILDWORLD=YES export NO_BUILDKERNEL=YES @@ -153,7 +143,7 @@ while test "$1" != ""; do --do-not-upload|-u) export DO_NOT_UPLOAD=1 ;; - all|none|*iso*|*ova*|*memstick*|*memstickserial*|*memstickadi*|*nanobsd*|*nanobsd-vga*) + all|none|*iso*|*ova*|*memstick*|*memstickserial*|*memstickadi*) BUILDACTION="images" IMAGETYPE="${1}" ;; @@ -302,7 +292,7 @@ fi if [ "$IMAGETYPE" = "none" ]; then _IMAGESTOBUILD="" elif [ "$IMAGETYPE" = "all" ]; then - _IMAGESTOBUILD="iso nanobsd nanobsd-vga memstick memstickserial" + _IMAGESTOBUILD="iso memstick memstickserial" if [ "${TARGET}" = "amd64" ]; then _IMAGESTOBUILD="${_IMAGESTOBUILD} memstickadi" if [ -n "${_IS_RELEASE}" ]; then @@ -389,9 +379,6 @@ for _IMGTOBUILD in $_IMAGESTOBUILD; do memstickadi) create_memstick_adi_image ;; - nanobsd|nanobsd-vga) - create_nanobsd_diskimage ${_IMGTOBUILD} "${FLASH_SIZE}" - ;; ova) old_custom_package_list="${custom_package_list}" export custom_package_list="${custom_package_list} ${PRODUCT_NAME}-pkg-Open-VM-Tools" |