dracut/dracut-037-mkinitrd-hostonly.patch

26 lines
1021 B
Diff

diff -Nru dracut-037.orig/mkinitrd-dracut.sh dracut-037/mkinitrd-dracut.sh
--- dracut-037.orig/mkinitrd-dracut.sh 2014-03-19 17:16:08.000000000 +0100
+++ dracut-037/mkinitrd-dracut.sh 2014-03-28 19:38:53.690041537 +0100
@@ -210,17 +210,17 @@
if [[ $quiet == 1 ]];then
echo "$target|$kernel|$dracut_args|$basicmodules"
if [[ $basicmodules ]]; then
- dracut $dracut_args --add-drivers "$basicmodules" "$target" \
+ dracut -H $dracut_args --add-drivers "$basicmodules" "$target" \
"$kernel" &>/dev/null
else
- dracut $dracut_args "$target" "$kernel" &>/dev/null
+ dracut -H $dracut_args "$target" "$kernel" &>/dev/null
fi
else
if [[ $basicmodules ]]; then
- dracut $dracut_args --add-drivers "$basicmodules" "$target" \
+ dracut -H $dracut_args --add-drivers "$basicmodules" "$target" \
"$kernel"
else
- dracut $dracut_args "$target" "$kernel"
+ dracut -H $dracut_args "$target" "$kernel"
fi
fi
done