From 7e8da8df0d86b66b073f839e7f0252c518b61a21 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 16 Nov 2015 09:29:18 +0100 Subject: [PATCH] dracut-043-173.git20151116 - git snapshot --- ...dracut.sh-add-back-host_modules-part.patch | 35 +++++++++++++++++++ dracut.spec | 6 +++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 0172-dracut.sh-add-back-host_modules-part.patch diff --git a/0172-dracut.sh-add-back-host_modules-part.patch b/0172-dracut.sh-add-back-host_modules-part.patch new file mode 100644 index 0000000..c5a79b4 --- /dev/null +++ b/0172-dracut.sh-add-back-host_modules-part.patch @@ -0,0 +1,35 @@ +From 63a44c8dc31f3168c85d9851619af2876cda4d00 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Mon, 16 Nov 2015 09:24:50 +0100 +Subject: [PATCH] dracut.sh: add back host_modules part + +host_modules was removed accidently while remove host_modaliases +--- + dracut.sh | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/dracut.sh b/dracut.sh +index a21295d..be4c107 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -1100,6 +1100,8 @@ if (( ${#add_device_l[@]} )); then + push_host_devs "${add_device_l[@]}" + fi + ++declare -A host_modules ++ + if [[ $hostonly ]]; then + # in hostonly mode, determine all devices, which have to be accessed + # and examine them for filesystem types +@@ -1187,6 +1189,11 @@ if [[ $hostonly ]]; then + fi + done < /etc/fstab + fi ++ ++ # check /proc/modules ++ while read m rest || [ -n "$m" ]; do ++ host_modules["$m"]=1 ++ done - 043-173.git20151116 +- git snapshot + * Fri Nov 13 2015 Harald Hoyer - 043-172.git20151113 - git snapshot