Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repartition: Use partx rather than busybox partprobe #411

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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