[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#444256: live-helper: Please allow multiple mirrors



Bas Wijnen wrote:
> I'm using live-helper to create filesystems for machines which are hard
> to maintain directly.  These are dedicated machines, which only have one
> purpose.  What I always need, is a minimal Debian system plus one or two
> extra packages (plus dependencies). For this purpose, I need to give
> live-helper two mirrors; one Debian mirror and one mirror on my machine
> (which isn't really a "mirror", but contains my own packages).

you can include additional sources with
config/chroot_sources/foo.{binary,bootstrap} sniplets; those are
automatically cat'ted at the end of sources.list inside the chroot.


> I've attached a patch which implements this feature.  It allows using
> --mirror-{bootstrap,binary} multiple times.  It uses array variables to
> accomplish this, and I'm not sure if that may be a bash-only feature.

arrays are not posix, hence we do use arrays not at all.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann at panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/






Reply to: