Hi Lee,

img target is never used today. Voyage Linux tarball and live cd ISO are generated by "tar" and "iso" respectively.

Send us patch of build.sh for generating usb-hdd live image is always welcome.


On 11/18/2014 5:29 AM, Lee Woldanski wrote:
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@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@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

--

Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
  - Voyage Linux (http://linux.voyage.hk)
  - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
  - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)


_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to