]> git.ipfire.org Git - thirdparty/dracut.git/commit
0056-81cio_ignore-handle-cio_ignore-commandline 347/head
authorHannes Reinecke <hare@suse.de>
Fri, 3 Feb 2017 15:02:29 +0000 (16:02 +0100)
committerDaniel Molkentin <dmolkentin@suse.com>
Fri, 12 Jan 2018 14:35:24 +0000 (15:35 +0100)
commit637fb76291314cd3d5cd0f7e5f6aa4727cc41b7f
treed57afb43c2ab6fcc7767fc38f7b664bb4c529688
parent8b4b7dc5b2f1477825cf8a52f412af372b4646f8
0056-81cio_ignore-handle-cio_ignore-commandline

81cio_ignore: handle cio_ignore commandline

References: bnc#874902

Incorporates following on-top patches/fixes:
----------------------------
Subject: 81cio_ignore: skip module if cio_ignore is not active

When cio_ignore is not active we should skip the entire module
during boot; otherwise it'll lead to adverse effects.

References: bnc#882685
----------------------------
Subject: 81cio_ignore: rewrite module

Rewrite cio_ignore module to rely on the dracut commandline
parameter 'rd.cio_accept', which takes a comma-separated list
of CCW IDs. Each of those IDs are being removed from the
list of devices from cio_ignore.

The default values for rd.cio_accept are taken from
/boot/zipl/active_devices.txt.

References: bnc#882685
-----------------------------
Subject: More empty cmdline fixes

This fixes up some more modules which might print out empty
commandline files.
-----------------------------
Subject: Mark scripts as executable

All scripts need to be marked as executable, otherwise dracut
won't be running them.

References: bnc#887010

Signed-off-by: Thomas Renninger <trenn@suse.de>
dracut.cmdline.7.asc
modules.d/81cio_ignore/module-setup.sh [new file with mode: 0755]
modules.d/81cio_ignore/parse-cio_accept.sh [new file with mode: 0755]