On Wed, May 12, 2010 at 4:50 PM, David Huff <[email protected]> wrote:
> From: Lubomir Rintel <[email protected]>
>
> 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
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/livecd

Reply via email to