Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2021 22:15:47 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 998abf5a1274 - main - nanobsd: Bump rescue size to 8GB
Message-ID:  <202107152215.16FMFlGG020575@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=998abf5a1274609f9b74b3301dc0dabe659bd36b

commit 998abf5a1274609f9b74b3301dc0dabe659bd36b
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-07-15 22:11:15 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-07-15 22:15:01 +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
---
 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='



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107152215.16FMFlGG020575>