Skip to content

Commit

Permalink
use partx instead of partprobe
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalus committed Oct 12, 2022
1 parent 0b71b3b commit 23cdbcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ image_create() {
image_dispatch image_prepare_file
image_dispatch image_create_loop_device
image_dispatch image_create_partitions
run_log_priv "Probing for new partitions" partprobe $IMAGE_LO_DEVICE
run_log_priv "Probing for new partitions" partx -a $IMAGE_LO_DEVICE
image_dispatch image_create_fs
IMAGE_MOUNT_DIR=$(mktemp -d)
image_dispatch image_mount_fs
Expand Down

0 comments on commit 23cdbcb

Please sign in to comment.