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 [details]
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.