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

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

 



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: pgpLiYmLvJXz2.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux