aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.arm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkimg.arm.sh')
-rwxr-xr-xscripts/mkimg.arm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkimg.arm.sh b/scripts/mkimg.arm.sh
index 6f9a31581e..a671f0543f 100755
--- a/scripts/mkimg.arm.sh
+++ b/scripts/mkimg.arm.sh
@@ -96,7 +96,7 @@ profile_rpi() {
build_uboot() {
set -x
# FIXME: Fix apk-tools to extract packages directly
- local pkg pkgs="$(apk fetch --simulate --root "$APKROOT" --recursive u-boot-all | sed -ne "s/^Downloading \([^0-9.]*\)\-.*$/\1/p")"
+ local pkg pkgs="$(apk fetch --simulate --root "$APKROOT" --recursive u-boot-all | sed -ne "s/^Downloading \(.*\)\-[0-9].*$/\1/p")"
for pkg in $pkgs; do
[ "$pkg" = "u-boot-all" ] || apk fetch --root "$APKROOT" --stdout $pkg | tar -C "$DESTDIR" -xz usr
done