[Fedora-livecd-list] [PATCH 2/2] Create a dracut configuration
Alan Pevec
apevec at gmail.com
Wed May 12 15:29:01 UTC 2010
On Wed, May 12, 2010 at 4:50 PM, David Huff <dhuff at redhat.com> wrote:
> From: Lubomir Rintel <lkundrak at v3.sk>
>
> Aside from mkinitrd, create equivalent dracut configuration as well.
> This fixes live CD creation from RHEL6, where kernel, unlike in Fedora,
> does not bundle the modules that are vital for Live image to start, such
> as sr_mod or sd_mod.
ACK
this is indeed better than my patch, it keeps livecd from git
compatible with older non-dracut distributions
...
> + def __restore_file(self,path):
> + try:
> + os.unlink(path)
> + except:
> + pass
> + if os.path.exists(path + '.rpmnew'):
> + os.rename(path + '.rpmnew', path)
this of course relies on %config(noreplace) which is the case for dracut.conf
More information about the livecd
mailing list