From b7a390f6338dabe10c62d9a866316ca95626c81d Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Fri, 26 Jun 2020 11:19:58 +0700 Subject: [PATCH] tar2fs: Set flag boot on root part for u-boot bootloader --- bin/tar2fs | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/tar2fs b/bin/tar2fs index 28110cb3..bb562afe 100755 --- a/bin/tar2fs +++ b/bin/tar2fs @@ -365,6 +365,7 @@ case "$BOOTLOADER" in uboot) EXTLINUX_CONF="$ROOTFS/boot/extlinux/extlinux.conf" sed -i "s/LABEL=ROOT/$ROOTDEV/g" "$EXTLINUX_CONF" + parting set "$ROOTPART" boot on ;; lilo) # configure and install bootloader