scripts/genrootfs.sh: Pass --root to the second apk invocation

Otherwise it won't know about the target architecture.
This commit is contained in:
Jonathan Neuschäfer 2018-04-24 16:17:25 +02:00 committed by Natanael Copa
parent 0f9ea9623f
commit a62e51c204

View File

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