diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-04-24 16:17:25 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-14 17:31:21 +0000 |
commit | a62e51c204852279e9b62bbe108985cb7e8bcaea (patch) | |
tree | 8b7b7667ca57db9a8d460c135a7e23a9fa60a1a6 /scripts | |
parent | 0f9ea9623f2d4030bf00cf634178456e3925e032 (diff) | |
download | aports-a62e51c204852279e9b62bbe108985cb7e8bcaea.tar.bz2 aports-a62e51c204852279e9b62bbe108985cb7e8bcaea.tar.xz |
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-x | scripts/genrootfs.sh | 2 |
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 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 |