Skip to content

Commit

Permalink
Merge pull request #411 from endlessm/T35432-partx-not-busybox-partprobe
Browse files Browse the repository at this point in the history
repartition: Use partx rather than busybox partprobe
  • Loading branch information
dbnicholson authored Jun 6, 2024
2 parents d73f66e + 788fcf6 commit 11e4a2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dracut/repartition/endless-repartition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions dracut/repartition/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 11e4a2c

Please sign in to comment.