mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Trying to autodetect legacy setups lead to problems when people
overrode the disk image creation routine. For now, just always bring in the legecy defines / routines.
This commit is contained in:
parent
114b7c00ca
commit
75aa5f28e9
1 changed files with 3 additions and 12 deletions
|
|
@ -44,9 +44,9 @@ do_installworld=true
|
|||
do_image=true
|
||||
do_copyout_partition=true
|
||||
do_native_xtools=false
|
||||
# Don't do the legacy build unless we detect 'old' variables being
|
||||
# set.
|
||||
do_legacy=false
|
||||
|
||||
# Pull in legacy stuff for now automatically
|
||||
. "${topdir}/legacy.sh"
|
||||
|
||||
set +e
|
||||
args=`getopt BKXWbc:fhiknqvw $*`
|
||||
|
|
@ -134,15 +134,6 @@ if [ $# -gt 0 ] ; then
|
|||
usage
|
||||
fi
|
||||
|
||||
if [ -n "$NANO_HEADS" -o -n "$NANO_SECTS" ]; then
|
||||
do_legacy=true
|
||||
fi
|
||||
|
||||
# If this uses the old, legacy image system, pull that in as well
|
||||
if $do_legacy ; then
|
||||
. "${topdir}/legacy.sh"
|
||||
fi
|
||||
|
||||
#######################################################################
|
||||
# And then it is as simple as that...
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue