git: 1f5bcd0b4716 - stable/13 - nanobsd: Bump rescue size to 8GB
Warner Losh
imp at FreeBSD.org
Wed Jul 21 16:14:14 UTC 2021
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=1f5bcd0b4716c0fbf0ba6ba558129aa28699f8a9
commit 1f5bcd0b4716c0fbf0ba6ba558129aa28699f8a9
Author: Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-07-15 22:11:15 +0000
Commit: Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-07-21 16:13:11 +0000
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 998abf5a1274609f9b74b3301dc0dabe659bd36b)
---
tools/tools/nanobsd/rescue/common | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tools/tools/nanobsd/rescue/common b/tools/tools/nanobsd/rescue/common
index d2a8a6de9e91..d14ad8b5af2b 100644
--- a/tools/tools/nanobsd/rescue/common
+++ b/tools/tools/nanobsd/rescue/common
@@ -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='
More information about the dev-commits-src-all
mailing list