Use the full name of the 'boot' flag in parted calls

raspi-settings-hack
Łukasz 'sil2100' Zemczak 4 years ago
parent 81fe9de42f
commit 1b0212a76c

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.713) UNRELEASED; urgency=medium
* Use the full name of the 'boot' flag in parted calls as it's not good
practice to rely on the shortened, ambiguous version.
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 24 Feb 2021 12:55:37 +0100
livecd-rootfs (2.712) hirsute; urgency=medium
[ Cody Shepherd ]

@ -50,7 +50,7 @@ create_empty_partition() {
parted_prefix="parted $disk --script --"
${parted_prefix} mkpart primary "$type" "$start" "$end"
if [ -n "$bootable" ]; then
${parted_prefix} set "$part" B
${parted_prefix} set "$part" boot
fi
${parted_prefix} print
${parted_prefix} align-check opt "$part"

Loading…
Cancel
Save