dracut.sh: extend host_fs_types with $filesystems
Additional filesystems specified on the kernel command line or in the configuration files, should trigger the inclusion of the corresponding dracut modules, therefore host_fs_types is extended with these filesystems.
parent
b077d18963
commit
b7c7b16d4e
|
|
@ -1174,6 +1174,12 @@ for dev in "${!host_fs_types[@]}"; do
|
|||
fi
|
||||
done
|
||||
|
||||
# also put the additional filesystems in host_fs_types
|
||||
# so that the according modules are installed.
|
||||
for fs in $filesystems; do
|
||||
host_fs_types[$fs]="$fs"
|
||||
done
|
||||
|
||||
[[ -d $udevdir ]] \
|
||||
|| udevdir="$(pkg-config udev --variable=udevdir 2>/dev/null)"
|
||||
if ! [[ -d "$udevdir" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue