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

Re: [master] Fix two problems with initrds for multipla kernels during a pungi compose.



On Tue, Oct 26, 2010 at 06:01:23PM +0200, Ales Kozumplik wrote:
> For i386, pungi hanged when PAE kernel modules are gathered: this was
> because we extracted the PAE modules into the same location as the non-PAE
> modules previously. By this time, non-PAE modules exist compressed with
> .gz. When mk-images runs gzip on the new modules, it interactively asks
> user whether it should owerwrite the compressed (non-PAE) files. Pungi
> doesn't show you the prompt so all you see is that it hangs. This is not
> observable with x86_64 composes since they only produce one
> kernel. Neither is it observable with any pungi composes run via cron
> since (my explanation) cron closes stdin for pungi, gzip inherits that and
> assumes 'no' for overwriting files, producing a corrupted initrd.img in
> the process.
> 
> The second problem was that our PAE initrds have always contained both sets
> of modules, thus making them 20 MB larger then necessary.

Ack! Good catch, things like that are a PITA to track down when there is
no output :)

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpEnMUUxLQtk.pgp
Description: PGP signature


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