diff options
-rwxr-xr-x | scripts/mkimg.arm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkimg.arm.sh b/scripts/mkimg.arm.sh index 6f9a31581ee..a671f0543fe 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 |