[Bug 908452] New: dracut replaces '-i' in kernel version string with "++include"
http://bugzilla.opensuse.org/show_bug.cgi?id=908452 Bug ID: 908452 Summary: dracut replaces '-i' in kernel version string with "++include" Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: armv7 OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: josua.m@t-online.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 615982 --> http://bugzilla.opensuse.org/attachment.cgi?id=615982&action=edit require space before -i On my device the custom contrib kernel image is called zImage-3.14.14-cubox-i. Now, mkinitrd, at first boot creates an initrd called "initrd-3.14.14-cubox++include" Now, Why? As it turns out, in the dracut script on line 312, any occurence of -i is replaced with "++include" resulting in this weird image name. Apparently, they intend to replace -i by the long option name --include(++include). So far so good, but it is applied on the kernel version parameter too which is pretty bad. I am not sure where to go when enhancing dracut, but I have a suggestion how to fix that: require a space before the -i to replace. Patch attached But I can't tell if my fix breaks the whole thing. This has caused a pretty annoying bug making cubox-i images not boot a second time because initrd symlink points to the wrong name. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=908452
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=908452
http://bugzilla.opensuse.org/show_bug.cgi?id=908452#c4
--- Comment #4 from Josua Mayer
http://bugzilla.opensuse.org/show_bug.cgi?id=908452
http://bugzilla.opensuse.org/show_bug.cgi?id=908452#c5
Fabian Vogt
participants (1)
-
bugzilla_noreply@novell.com