aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-04-24 16:17:25 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-14 17:31:21 +0000
commita62e51c204852279e9b62bbe108985cb7e8bcaea (patch)
tree8b7b7667ca57db9a8d460c135a7e23a9fa60a1a6 /scripts
parent0f9ea9623f2d4030bf00cf634178456e3925e032 (diff)
downloadalpine_aports-a62e51c204852279e9b62bbe108985cb7e8bcaea.tar.bz2
alpine_aports-a62e51c204852279e9b62bbe108985cb7e8bcaea.tar.xz
alpine_aports-a62e51c204852279e9b62bbe108985cb7e8bcaea.zip
scripts/genrootfs.sh: Pass --root to the second apk invocation
Otherwise it won't know about the target architecture.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/genrootfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genrootfs.sh b/scripts/genrootfs.sh
index 5f4e6635b9..2c2c938a06 100755
--- a/scripts/genrootfs.sh
+++ b/scripts/genrootfs.sh
@@ -36,7 +36,7 @@ for link in $("$tmp"/bin/busybox --list-full); do
36done 36done
37 37
38${APK:-apk} fetch --keys-dir "$keys_dir" --no-cache \ 38${APK:-apk} fetch --keys-dir "$keys_dir" --no-cache \
39 --repositories-file "$repositories_file" \ 39 --repositories-file "$repositories_file" --root "$tmp" \
40 --stdout --quiet alpine-base | tar -zx -C "$tmp" etc/ 40 --stdout --quiet alpine-base | tar -zx -C "$tmp" etc/
41 41
42# make sure root login is disabled 42# make sure root login is disabled