Skip to content

Commit

Permalink
META | DietPi-Imager: Giving up on noninteractive partition resize fo…
Browse files Browse the repository at this point in the history
…r now

+ Methods that worked in the past do not work anymore. Currently (Bullseye at least) it seems to be impossible...
  • Loading branch information
MichaIng authored Jan 21, 2020
1 parent 9ae2623 commit 3e5b7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .meta/dietpi-imager
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Do you want to overwrite or backup the existing file to /root/$OUTPUT_IMG_NAME.$
if (( $PART_END_CURRENT > $PART_END_TARGET )); then

G_DIETPI-NOTIFY 2 "Shrinking root partition to: $(( $FS_SIZE / 2048 + 1 )) MiB"
parted $FP_SOURCE unit s resizepart $ROOT_PARTITION_INDEX yes $PART_END_TARGET
parted $FP_SOURCE unit s resizepart $ROOT_PARTITION_INDEX $PART_END_TARGET
partprobe $FP_SOURCE

fi
Expand Down

0 comments on commit 3e5b7b4

Please sign in to comment.