tar2fs: Set flag boot on root part for u-boot bootloader
This commit is contained in:
parent
95ced6d0c4
commit
b7a390f633
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user