mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
dracut: resolve the dependency issue of network module by omitting the three others as well
This commit is contained in:
parent
fd7c24ce69
commit
c32f6d20d2
@ -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 -->
|
||||
|
||||
- [WARNING!](#warning)
|
||||
- [network](#network)
|
||||
- [hostonly](#hostonly)
|
||||
|
||||
<!-- 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
|
||||
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
|
||||
|
||||
Will make a UKI specific to the current hardware and is discouraged as it will
|
||||
|
@ -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 "
|
||||
|
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user