From a62e51c204852279e9b62bbe108985cb7e8bcaea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= <j.neuschaefer@gmx.net> Date: Tue, 24 Apr 2018 16:17:25 +0200 Subject: [PATCH] scripts/genrootfs.sh: Pass --root to the second apk invocation Otherwise it won't know about the target architecture. --- scripts/genrootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/genrootfs.sh b/scripts/genrootfs.sh index 5f4e6635b9e1..2c2c938a06d4 100755 --- a/scripts/genrootfs.sh +++ b/scripts/genrootfs.sh @@ -36,7 +36,7 @@ for link in $("$tmp"/bin/busybox --list-full); do done ${APK:-apk} fetch --keys-dir "$keys_dir" --no-cache \ - --repositories-file "$repositories_file" \ + --repositories-file "$repositories_file" --root "$tmp" \ --stdout --quiet alpine-base | tar -zx -C "$tmp" etc/ # make sure root login is disabled -- GitLab