Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
dracut.9139
0209-fix_modules_load_d_hostonly.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0209-fix_modules_load_d_hostonly.patch of Package dracut.9139
From: Fabian Vogt <fvogt@suse.com> Subject: Fix loading of modules in modules-load.d With hostonly enabled, only modules that are currently loaded are included in the initrd. Modules which are explicitly listed in modules-load.d do not need to be filtered that way. Fix for boo#962224. --- modules.d/00systemd/module-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: dracut-044/modules.d/00systemd/module-setup.sh =================================================================== --- dracut-044.orig/modules.d/00systemd/module-setup.sh +++ dracut-044/modules.d/00systemd/module-setup.sh @@ -154,7 +154,7 @@ install() { } _mods=$(modules_load_get /usr/lib/modules-load.d) - [[ $_mods ]] && instmods $_mods + [[ $_mods ]] && hostonly='' instmods $_mods if [[ $hostonly ]]; then inst_multiple -H -o \ @@ -169,7 +169,7 @@ install() { /etc/sysctl.conf _mods=$(modules_load_get /etc/modules-load.d) - [[ $_mods ]] && instmods $_mods + [[ $_mods ]] && hostonly='' instmods $_mods fi if ! [[ -e "$initdir/etc/machine-id" ]]; then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor