Bug#570330: binary_syslinux and binary_grub assume LH_BINARY_IMAGES is singular.
retitle 570330 support building multiple binary images in a row
severity 570330 wishlist
forwarded 570330 http://live.debian.net/devel/live-helper/todo
thanks
Hi,
there are two things about that.
first, to use LH_BINARY_IMAGES instead of LH_BINARY_IMAGE was done on
purpose. if one day we finally support building more than one binary
image in a row (means, without cleaning the binary stage in between),
then the users don't need to change/update the config tree interfaces on
the user. this is also why almost everywhere, lh will not fail when you
specify multiple binary image types to build (you might not get what you
want in the end, though).
second, building multiple binary images in a row is a bit complicated.
this is due to the fact that not all binary images use the same chroot.
e.g. the netboot one gets smbfs and nfs-common installed through
lh_hacks, regardless if you configured lh to install them or not. of
course this is desired when building netboot images, because then you
need those packages. however, when building e.g. an iso image, you don't
necessarily want them.
therefore, when you switch between netboot and any other binary image
type, you'd need to recreate the chroot stage, not just the binary stage
only.
until this can be concentrated somehow (that i don't have a clever idea
about yet), lh will not support building multiple images for the sake of
building 'clean' images.
however, it's noted on our todo list, so one day it will get fixed.
Regards,
Daniel
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/
Reply to: