1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

nanobsd: Bump rescue size to 8GB

Bump the rescue size from 1.2GB to just shy of 8GB as things have grown
somewhat. Also make it possible to build rescue somewhere other than
/usr/src.

Sponsored by:		Netflix

(cherry picked from commit 998abf5a12)
This commit is contained in:
Warner Losh 2021-07-15 16:11:15 -06:00
parent b78807daaa
commit 1f5bcd0b47

View File

@ -1,15 +1,17 @@
#
# $FreeBSD$
#
NANO_SRC=$(pwd)
NANO_SRC=${NANO_SRC%/tools/tools/nanobsd/rescue}
NANO_OBJ=${NANO_SRC}/../nanobsd-builds/${NANO_NAME}/obj
NANO_TOOLS=`pwd`
NANO_PACKAGE_DIR=`pwd`/Pkg
NANO_RAM_TMPVARSIZE=40960
NANO_PMAKE="make -j 8"
NANO_LABEL="rescue"
NANO_RAM_TMPVARSIZE=40960
#NANO_MEDIASIZE="8027712"
#NANO_MEDIASIZE="2097152"
NANO_MEDIASIZE="3932160"
#NANO_MEDIASIZE="3932160"
NANO_MEDIASIZE="16384000"
NANO_SECTS="63"
NANO_HEADS="16"
NANO_IMAGES="2"
@ -19,7 +21,7 @@ NANO_DRIVE=da0
#NANO_MODULES=
NANO_BOOTLOADER="boot/boot0"
NANO_BOOT2CFG=""
NANO_MD_BACKING=swap
NANO_MD_BACKING=file
# Options to put in make.conf during buildworld only
CONF_BUILD='