diff --git a/dracut.sh b/dracut.sh index 7481ac0..8ee40a3 100755 --- a/dracut.sh +++ b/dracut.sh @@ -838,7 +838,7 @@ if [[ $hostonly ]]; then "/usr/sbin" \ "/usr/lib" \ "/usr/lib64" \ - "/boot"; + ; do mountpoint "$mp" >/dev/null 2>&1 || continue push host_devs $(readlink -f "/dev/block/$(find_block_device "$mp")")