git: 39e39ba05672 - main - nanobsd: Revert back to 1G (really 927M) partitions for rescue.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Jan 2024 06:15:37 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=39e39ba0567215e7836b93ee33f08b5f154858bd commit 39e39ba0567215e7836b93ee33f08b5f154858bd Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2024-01-01 06:12:42 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-01-01 06:13:57 +0000 nanobsd: Revert back to 1G (really 927M) partitions for rescue. The last bump to 8G was caused by all the new symbols and debug info we install by default. Turning those off gets us back to a reasonable size: Filesystem Size Used Avail Capacity Mounted on /dev/md1s1a 927M 771M 83M 90% /mnt Sponsored by: Netflix Reviewed by: jlduran@gmail.com Differential Revision: https://reviews.freebsd.org/D43232 --- tools/tools/nanobsd/rescue/common | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tools/tools/nanobsd/rescue/common b/tools/tools/nanobsd/rescue/common index a6eec2a11ebb..5fcf5c19b882 100644 --- a/tools/tools/nanobsd/rescue/common +++ b/tools/tools/nanobsd/rescue/common @@ -9,8 +9,7 @@ NANO_RAM_TMPVARSIZE=40960 NANO_PMAKE="make -j 8" NANO_LABEL="rescue" NANO_RAM_TMPVARSIZE=40960 -#NANO_MEDIASIZE="3932160" -NANO_MEDIASIZE="16384000" +NANO_MEDIASIZE="3932160" NANO_SECTS="63" NANO_HEADS="16" NANO_IMAGES="2" @@ -30,10 +29,12 @@ CONF_INSTALL=' ' # Options to put in make.conf during both build- & installworld. CONF_WORLD=' -#TARGET_ARCH=i386 CFLAGS=-O -pipe -WITHOUT_TESTS=YES -ALL_MODULES=YES +# We do not need these for rescue +WITHOUT_LIB32=true +WITHOUT_TESTS=true +WITHOUT_DEBUG_FILES=t +WITHOUT_KERNEL_SYMBOLS=t ' # Functions