diff --git a/dracut/repartition/endless-repartition.sh b/dracut/repartition/endless-repartition.sh index c1a0e12..d116b95 100755 --- a/dracut/repartition/endless-repartition.sh +++ b/dracut/repartition/endless-repartition.sh @@ -201,7 +201,7 @@ udevadm settle # Loop devices need a prod if [ -n "$using_loop" ]; then - partprobe $root_disk + partx --update --verbose $root_disk udevadm settle fi diff --git a/dracut/repartition/module-setup.sh b/dracut/repartition/module-setup.sh index c0238f3..38c95c7 100644 --- a/dracut/repartition/module-setup.sh +++ b/dracut/repartition/module-setup.sh @@ -17,6 +17,7 @@ install() { dracut_install tune2fs dracut_install iconv dracut_install blkid + dracut_install partx inst_script "$moddir/endless-repartition.sh" /bin/endless-repartition inst_simple "$moddir/endless-repartition.service" \ "$systemdsystemunitdir/endless-repartition.service"