]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix: do not set cmdline for uefi images unless asked
authorMatthew Thode <mthode@mthode.org>
Fri, 29 Jan 2021 04:40:59 +0000 (22:40 -0600)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 8 Feb 2021 09:37:22 +0000 (10:37 +0100)
commit8a2edb1e4da9e63a8bee2e06b8a1fad9cf31e444
tree487768c8e195057de28345debc9b17e035c90daf
parent4026cd3b012be7f06c7572bdf50dd54a18ecb684
fix: do not set cmdline for uefi images unless asked

The kernel does not allow the cmdline to be overridden if one is defined
in the uefi image.  This means that bootloaders like systemd-boot or
grub cannot manage boot options (editing at boot for debug being a use
case).  This patchset allows for no cmdline to be set (instead of force
setting one if none is provided).

Fixes: https://github.com/dracutdevs/dracut/issues/1012
Signed-off-by: Matthew Thode <mthode@mthode.org>
dracut.sh