modules load: rename kernel command line option to (rd.)modules-load=
This commit is contained in:
parent
d1f9edafe7
commit
91ac742501
2
NEWS
2
NEWS
|
@ -81,7 +81,7 @@ CHANGES WITH 186:
|
||||||
* The fstab generator may now be disabled at boot by passing
|
* The fstab generator may now be disabled at boot by passing
|
||||||
fstab=0 on the kernel command line.
|
fstab=0 on the kernel command line.
|
||||||
|
|
||||||
* A new kernel command line option driver= is now understood
|
* A new kernel command line option modules-load= is now understood
|
||||||
to load a specific kernel module statically, early at boot.
|
to load a specific kernel module statically, early at boot.
|
||||||
|
|
||||||
* Unit names specified on the systemctl command line are now
|
* Unit names specified on the systemctl command line are now
|
||||||
|
|
|
@ -90,13 +90,13 @@ static int parse_proc_cmdline(void) {
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (startswith(word, "driver=")) {
|
if (startswith(word, "modules-load=")) {
|
||||||
|
|
||||||
r = add_modules(word + 7);
|
r = add_modules(word + 7);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
goto finish;
|
goto finish;
|
||||||
|
|
||||||
} else if (startswith(word, "rd.driver=")) {
|
} else if (startswith(word, "rd.modules-load=")) {
|
||||||
|
|
||||||
if (in_initrd()) {
|
if (in_initrd()) {
|
||||||
r = add_modules(word + 10);
|
r = add_modules(word + 10);
|
||||||
|
|
Loading…
Reference in a new issue