aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-06-19 09:15:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-19 09:34:26 +0000
commitee517c9da857b5dc4f92b35dde5449b66bda420b (patch)
tree23d422e2d4f349785e5ea9124f8eb1383d9d7e9b
parent0c6b47193b5a4a025f6b34d111e78dba20adc8d0 (diff)
downloadaports-ee517c9da857b5dc4f92b35dde5449b66bda420b.tar.gz
aports-ee517c9da857b5dc4f92b35dde5449b66bda420b.tar.bz2
aports-ee517c9da857b5dc4f92b35dde5449b66bda420b.tar.xz
scripts/mkimg.arm.sh: fix inclusion of u-boot-pine64
fix the sed extression that filters out version number sot it does not strip out the `-pine64` part of string. apk fetch --simulate --root --recursive u-boot-all
-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