diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-04-24 16:17:24 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-14 17:31:21 +0000 |
commit | 0f9ea9623f2d4030bf00cf634178456e3925e032 (patch) | |
tree | 34a6a4cc5795bb2c65f63188ad111898c41ccc63 /scripts | |
parent | 1c5895084260c28d5cce06e0458d7aaf47e90bd9 (diff) | |
download | alpine_aports-0f9ea9623f2d4030bf00cf634178456e3925e032.tar.bz2 alpine_aports-0f9ea9623f2d4030bf00cf634178456e3925e032.tar.xz alpine_aports-0f9ea9623f2d4030bf00cf634178456e3925e032.zip |
scripts/genrootfs.sh: Initialize the apk DB with the right 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 59eed20f97..5f4e6635b9 100755 --- a/scripts/genrootfs.sh +++ b/scripts/genrootfs.sh | |||
@@ -29,7 +29,7 @@ fi | |||
29 | 29 | ||
30 | ${APK:-apk} add --keys-dir "$keys_dir" --no-cache \ | 30 | ${APK:-apk} add --keys-dir "$keys_dir" --no-cache \ |
31 | --repositories-file "$repositories_file" \ | 31 | --repositories-file "$repositories_file" \ |
32 | --no-script --root "$tmp" --initdb \ | 32 | --no-script --root "$tmp" --initdb --arch "$arch" \ |
33 | "$@" | 33 | "$@" |
34 | for link in $("$tmp"/bin/busybox --list-full); do | 34 | for link in $("$tmp"/bin/busybox --list-full); do |
35 | [ -e "$tmp"/$link ] || ln -s /bin/busybox "$tmp"/$link | 35 | [ -e "$tmp"/$link ] || ln -s /bin/busybox "$tmp"/$link |