I finally decided to give the "live-image" target a try on i386 and
amd64 builds. Unfortunately, "NetBSD-7.99.65-amd64-live-sd0root.img"
is too big for the alloted image size.
[...]
Creating rootfs...
chmod +r work/var/spool/ftp/hidden
/r1/build/current/tools/amd64/bin/nbmakefs -M 1475346432 -m 1475346432
-B 1234 -F work.spec -N
work/etc
-o bsize=16384,fsize=2048,density=8192
work.rootfs work
nbmakefs: `work' size of 1518485504 is larger than the maxsize of 1475346432.
*** [imgroot.fs] Error code 1
nbmake[5]: stopped in /x/current/src/distrib/amd64/liveimage/usbimage
1 error
nbmake[5]: stopped in /x/current/src/distrib/amd64/liveimage/usbimage
*** Failed target: live_image-usbimage
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="/x/current/src/distrib/amd64/liveimage/";
real="/x/current/src/distrib/amd64/liveimage" ;; *)
this="/x/current/src/distrib/amd64/liveimage/${dir}/";
real="/x/current/src/distrib/amd64/liveimage/${dir}" ;; esac; show=${this:-.};
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/r1/build/current/tools/amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget usbimage live_image
*** Error code 2
Stop.
[...]
Its companion image, "NetBSD-7.99.65-amd64-live-wd0root.img.gz" is built
and installed to the ${RELEASEDIR}/images directory.
i386-current successfully builds both "sd0root" and "wd0root" versions
as do netbsd-7/{i386,amd64}.
I see that the "install-image" target is routinely built for i386 and
amd64. Anyone else playing with the "live-image" target?
Also, the 'build.sh' descriptions for the "live-image" and "install-image"
targets are incorrect. It is claimed they will be put in
"${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/{install,live}image",
but they are actually installed to "${RELEASEDIR}/images" with appropriate
version/machine naming.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645