On Fri, 5 Jan 2018, Paul Goyette wrote:

With sources just recently updated, I'm getting the following when trying to 'build.sh install-image'

...
Creating rootfs...
chmod +r work/var/spool/ftp/hidden
/build/netbsd-local/tools/x86_64/amd64/bin/nbmakefs -M 1384120320 -m 1384120320 -B 1234 -F work.spec -N work/etc -o bsize=16384,fsize=2048,density=8192 work.rootfs work
nbmakefs: `work' size of 1389232128 is larger than the maxsize of 1384120320.
*** Failed target:  imgroot.fs

FWIW, the following patch increases the disk image size by 50MB, which seems to leave enough room for the root file system image!

Index: Makefile
===================================================================
RCS file: /cvsroot/src/distrib/amd64/installimage/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile    18 Sep 2017 14:42:16 -0000      1.9
+++ Makefile    5 Jan 2018 00:32:50 -0000
@@ -5,7 +5,7 @@
 INSTIMGBASE=   NetBSD-${DISTRIBVER}-amd64-install      # gives ${IMGBASE}.img

 BOOTDISK=      sd0                     # for USB flash etc.
-INSTIMAGEMB?=  1450                    # for all installation binaries
+INSTIMAGEMB?=  1500                    # for all installation binaries

 PRIMARY_BOOT=          bootxx_ffsv1
 SECONDARY_BOOT=                boot



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+

Reply via email to