Commit 10b37d45 authored by Dmitriy Terekhin's avatar Dmitriy Terekhin Committed by Anton Midyukov

tar2fs: fix syntax of legacy_boot parameter

Parameter "legacyboot" causes an error: parted: invalid token: legacyboot
parent f7c6ac5a
......@@ -364,7 +364,7 @@ popd
if [ -f "$ROOTFS/boot/extlinux/extlinux.conf" ]; then
sed -i "s/LABEL=ROOT/$ROOTDEV/g" "$ROOTFS/boot/extlinux/extlinux.conf"
if [ "$PARTTABLE" == gpt ]; then
parting set "$ROOTPART" legacyboot on
parting set "$ROOTPART" legacy_boot on
fi
if [ "$PARTTABLE" == msdos ]; then
parting set "$ROOTPART" boot on
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment