On Wed, May 12, 2010 at 4:50 PM, David Huff<dhuff(a)redhat.com>
wrote:
> From: Lubomir Rintel<lkundrak(a)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
--
livecd mailing list
livecd(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/livecd