scripts/genrootfs.sh: Initialize the apk DB with the right architecture

This commit is contained in:
Jonathan Neuschäfer 2018-04-24 16:17:24 +02:00 committed by Natanael Copa
parent 1c58950842
commit 0f9ea9623f

View File

@ -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