aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-04-24 16:17:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-14 17:31:21 +0000
commit0f9ea9623f2d4030bf00cf634178456e3925e032 (patch)
tree34a6a4cc5795bb2c65f63188ad111898c41ccc63 /scripts
parent1c5895084260c28d5cce06e0458d7aaf47e90bd9 (diff)
downloadaports-0f9ea9623f2d4030bf00cf634178456e3925e032.tar.bz2
aports-0f9ea9623f2d4030bf00cf634178456e3925e032.tar.xz
scripts/genrootfs.sh: Initialize the apk DB with the right 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 59eed20f97..5f4e6635b9 100755
--- a/scripts/genrootfs.sh
+++ b/scripts/genrootfs.sh
@@ -29,7 +29,7 @@ fi
${APK:-apk} add --keys-dir "$keys_dir" --no-cache \
--repositories-file "$repositories_file" \
- --no-script --root "$tmp" --initdb \
+ --no-script --root "$tmp" --initdb --arch "$arch" \
"$@"
for link in $("$tmp"/bin/busybox --list-full); do
[ -e "$tmp"/$link ] || ln -s /bin/busybox "$tmp"/$link