Re: Multi-arch netinst getting too big

2010-06-26 Thread Ian Campbell
On Sat, 2010-06-26 at 21:12 +0200, Ferenc Wagner wrote:
> Ian Campbell  writes:
> 
> > Another option might be to combine gtk/initrd.gz and xen/initrd.gz so
> > that the overhead is only the kernel udebs and not duplicating all the
> > other stuff.
> 
> I probably mentioned this already, but you aren't constrained to a
> single initrd.gz: you can use several ones separated by commas.

Where can I use several? In a Xen domain config file or in some
bootloader config or something? Is it actually supported of does it just
happen to work by some coincidence?

Ian.

> On the
> other hand I've got no idea how much of the initrd contents is arch
> independent.  And I surely wouldn't miss the graphical part of the Xen
> installer.

-- 
-- 
Ian Campbell

All other things being equal, a bald man cannot be elected President of
the United States.
-- Vic Gold


signature.asc
Description: This is a digitally signed message part


Re: Multi-arch netinst getting too big

2010-06-26 Thread Ferenc Wagner
Ian Campbell  writes:

> Another option might be to combine gtk/initrd.gz and xen/initrd.gz so
> that the overhead is only the kernel udebs and not duplicating all the
> other stuff.

I probably mentioned this already, but you aren't constrained to a
single initrd.gz: you can use several ones separated by commas.  On the
other hand I've got no idea how much of the initrd contents is arch
independent.  And I surely wouldn't miss the graphical part of the Xen
installer.
-- 
Regards,
Feri.


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87vd95d2vi@tac.ki.iif.hu



Re: Multi-arch netinst getting too big

2010-06-26 Thread Ferenc Wagner
Ian Campbell  writes:

> On Sat, 2010-06-26 at 21:12 +0200, Ferenc Wagner wrote:
>
>> Ian Campbell  writes:
>> 
>>> Another option might be to combine gtk/initrd.gz and xen/initrd.gz so
>>> that the overhead is only the kernel udebs and not duplicating all the
>>> other stuff.
>> 
>> I probably mentioned this already, but you aren't constrained to a
>> single initrd.gz: you can use several ones separated by commas.
>
> Where can I use several? In a Xen domain config file or in some
> bootloader config or something? Is it actually supported of does it just
> happen to work by some coincidence?

Unfortunately not in a Xen domain config, AFAIK.  But isolinux supports
it, as per syslinux.txt:

It supports multiple filenames separated by commas.
This is mostly useful for initramfs, which can be composed of
multiple separate cpio or cpio.gz archives.

It's actually an overlay, so it may be possible to work around the Xen
limitation by making the Xen initrd the base one and overwriting its
arch dependent parts as needed.  Hopefully this can be done without
wasting much memory, maybe by adding empty files/directories to the
overlay initrd.

But I don't know a thing about the powerpc bootloader.  If that does not
support this, the possible gains are somewhat lower.
-- 
Regards,
Feri.


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ocexd15l@tac.ki.iif.hu



Re: Multi-arch netinst getting too big

2010-06-26 Thread Ian Campbell
On Sat, 2010-06-26 at 21:49 +0200, Ferenc Wagner wrote:
> Ian Campbell  writes:
> 
> > On Sat, 2010-06-26 at 21:12 +0200, Ferenc Wagner wrote:
> >
> >> Ian Campbell  writes:
> >> 
> >>> Another option might be to combine gtk/initrd.gz and xen/initrd.gz so
> >>> that the overhead is only the kernel udebs and not duplicating all the
> >>> other stuff.
> >> 
> >> I probably mentioned this already, but you aren't constrained to a
> >> single initrd.gz: you can use several ones separated by commas.
> >
> > Where can I use several? In a Xen domain config file or in some
> > bootloader config or something? Is it actually supported of does it just
> > happen to work by some coincidence?
> 
> Unfortunately not in a Xen domain config, AFAIK.  But isolinux supports
> it, as per syslinux.txt:
> 
> It supports multiple filenames separated by commas.
> This is mostly useful for initramfs, which can be composed of
> multiple separate cpio or cpio.gz archives.

OK, Thanks.

> It's actually an overlay, so it may be possible to work around the Xen
> limitation by making the Xen initrd the base one and overwriting its
> arch dependent parts as needed.

Although it probably could be made to work I'm not that keen on making
the regular case more complicated/strange (even if supported by the
bootloader) in order to support Xen and I suspect nobody else is either.
I'd prefer to drop GTK from the Xen images.

Ian.

-- 
-- 
Ian Campbell

BOFH excuse #169:

broadcast packets on wrong frequency


signature.asc
Description: This is a digitally signed message part