dracut: resolve the dependency issue of network module by omitting the three others as well

This commit is contained in:
Aminda Suomalainen 2024-06-02 17:00:13 +03:00
parent fd7c24ce69
commit c32f6d20d2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 2 additions and 23 deletions

View File

@ -8,7 +8,6 @@ My dracut configuration files mainly for generating unified kerneil images
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [WARNING!](#warning) - [WARNING!](#warning)
- [network](#network)
- [hostonly](#hostonly) - [hostonly](#hostonly)
<!-- END doctoc generated TOC please keep comment here to allow auto update --> <!-- END doctoc generated TOC please keep comment here to allow auto update -->
@ -24,26 +23,6 @@ go through what of it is actually useful and worth keeping around and at least
disabling recovery seems dangerous if I can save space by omitting somnething disabling recovery seems dangerous if I can save space by omitting somnething
else. else.
## network
```
dracut[E]: Module 'cifs' depends on 'network', which can't be installed
dracut[E]: Module 'iscsi' depends on 'network', which can't be installed
dracut[E]: Module 'nvmf' depends on 'network', which can't be installed
```
I think nvmf might be relevant on ThinkPads, so it gets out of `omit_modules`
At least it resolves these two…
<code style="color: red">
Error registering initrd: Already started
Error starting kernel image: Already started
</code>
…which cause fallback to the next UEFI boot entry (why is that grub still
around?)
## hostonly ## hostonly
Will make a UKI specific to the current hardware and is discouraged as it will Will make a UKI specific to the current hardware and is discouraged as it will

View File

@ -1 +1 @@
omit_dracutmodules+=" plymouth kernel-modules-extra network-manager network-legacy connman systemd-networkd i18n net-lib kernel-network-modules qemu qemu-net kernel-modules-asahi nfs asahi-firmware " omit_dracutmodules+=" plymouth kernel-modules-extra network-manager network-legacy connman systemd-networkd i18n net-lib kernel-network-modules qemu qemu-net kernel-modules-asahi nfs asahi-firmware network cifs iscsi nvmf "

View File

@ -1 +1 @@
omit_dracutmodules+=" plymouth tpm2-tss kernel-modules-extra network-manager network-legacy connman systemd-networkd i18n network net-lib kernel-network-modules qemu qemu-net kernel-modules-asahi nfs asahi-firmware " omit_dracutmodules+=" plymouth tpm2-tss kernel-modules-extra network-manager network-legacy connman systemd-networkd i18n network net-lib kernel-network-modules qemu qemu-net kernel-modules-asahi nfs asahi-firmware network cifs iscsi nvmf "