[Voyage-linux] Build Script Broken for .img Target
Lee Woldanski
(spam-protected)
Tue Nov 18 05:29:48 HKT 2014
I use the ./build.sh img target for building a custom image that I can DD
to a CF card.
For some time now (not sure how long), trying to build an .img has failed:
P: Begin unmounting /proc...
[2014-11-17 19:21:28] lb chroot_devpts remove
[2014-11-17 19:21:28] lb testroot
P: Begin unmounting /dev/pts...
P: Begin unmounting filesystems...
P: Saving caches...
[2014-11-17 19:21:28] lb source
binary.img not found!
root at voyage:~/voyage-live# lb --version
3.0.5-1
I finally decided to tackle this error today, as I want to upgrade my
embedded systems from ~0.7.x to current.
Looks like the problem is in the ./build.sh script, when it calls lb config:
lb config -b usb-hdd --binary-filesystem fat16 --chroot-filesystem squashfs
--linux-packages="$VOYAGE_LINUX_PACKAGES"
It looks like the usb-hdd option has been replaced with hdd, and using
usb-hdd fails silently.
root at voyage:~/voyage-live# lb config --help
[2014-11-17 21:25:04] lb config --help
lb config - create configuration for live-build(7)
Usage:
lb config [--apt apt|aptitude]
[-b|--binary-images iso|iso-hybrid|netboot|tar|hdd]
And indeed, changing the option in ./build.sh from usb-hdd to hdd does
result in a successful .img being generated.
Hopefully, this can get fixed in the next release. Might also be a good
idea to check the rest of the ./build.sh targets to make sure they still
work too. :)
Cheers!
Lee
--
Lee Woldanski, AScT
VE7FET
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20141117/86141175/attachment.html>
More information about the Voyage-linux
mailing list