tar2fs: Set flag boot on root part for u-boot bootloader

This commit is contained in:
Anton Midyukov 2020-06-26 11:19:58 +07:00
parent 95ced6d0c4
commit b7a390f633

View File

@ -365,6 +365,7 @@ case "$BOOTLOADER" in
uboot) uboot)
EXTLINUX_CONF="$ROOTFS/boot/extlinux/extlinux.conf" EXTLINUX_CONF="$ROOTFS/boot/extlinux/extlinux.conf"
sed -i "s/LABEL=ROOT/$ROOTDEV/g" "$EXTLINUX_CONF" sed -i "s/LABEL=ROOT/$ROOTDEV/g" "$EXTLINUX_CONF"
parting set "$ROOTPART" boot on
;; ;;
lilo) lilo)
# configure and install bootloader # configure and install bootloader