Skip to content

Commit 711218a

Browse files
authored
vayu: Use BL_BACKUP to get original boot image
1 parent 5cd5097 commit 711218a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

install/vayu.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ $SETUP || exit 0 # only run if creating config files
66
mkdir -p "$BOOTSET/$1"
77
TEMP="$(mktemp -d)"
88
mkdir -p "$TEMP/boot"
9-
# TODO $BOOTSET/..? is this implementation detail?
10-
cp "$BOOTSET"/../backup_lk*.img "$TEMP/boot/boot.img"
9+
cp "$BL_BACKUP" "$TEMP/boot/boot.img"
1110
unpackbootimg -i "$TEMP/boot/boot.img" -o "$TEMP/boot/"
1211

1312
CMDLINE="$(cat "$TEMP/boot/boot.img-cmdline")" #TODO

0 commit comments

Comments
 (0)