Skip to content
Snippets Groups Projects
Commit ee517c9d authored by Natanael Copa's avatar Natanael Copa
Browse files

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
parent 0c6b4719
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ profile_rpi() { ...@@ -96,7 +96,7 @@ profile_rpi() {
build_uboot() { build_uboot() {
set -x set -x
# FIXME: Fix apk-tools to extract packages directly # 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 for pkg in $pkgs; do
[ "$pkg" = "u-boot-all" ] || apk fetch --root "$APKROOT" --stdout $pkg | tar -C "$DESTDIR" -xz usr [ "$pkg" = "u-boot-all" ] || apk fetch --root "$APKROOT" --stdout $pkg | tar -C "$DESTDIR" -xz usr
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment