Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2021 16:14:12 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1f5bcd0b4716 - stable/13 - nanobsd: Bump rescue size to 8GB
Message-ID:  <202107211614.16LGECv6080555@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=1f5bcd0b4716c0fbf0ba6ba558129aa28699f8a9

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



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