mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
mrc.sh: Make proper use of variable inside printf
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-2
@@ -35,8 +35,8 @@ extract_partition()
|
||||
dd if="${1%.zip}" of="root-a.ext2" bs=1024 skip=$(( $START / 1024 )) \
|
||||
count=$(( $SIZE / 1024 )) || $err "ex dd ${1%.zip}, root-a.ext2"
|
||||
|
||||
printf "cd /usr/sbin\ndump chromeos-firmwareupdate $SHELLBALL\nquit" \
|
||||
| debugfs "root-a.ext2" || $err "can't extract shellball"
|
||||
printf "cd /usr/sbin\ndump chromeos-firmwareupdate %s\nquit" \
|
||||
"$SHELLBALL" | debugfs "root-a.ext2" || $err "!extract shellball"
|
||||
}
|
||||
|
||||
extract_refcode()
|
||||
|
||||
Reference in New Issue
Block a user