mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-28 22:01:21 +00:00
misc: fix install-alpine
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
parent
517f69e884
commit
990c1d40cf
@ -25,12 +25,12 @@ apktools="apk-tools-static-2.4.4-r0.apk"
|
||||
if ! test -f "$apktools"; then
|
||||
wget "${mirror}/v3.0/main/x86_64/${apktools}"
|
||||
fi
|
||||
if ! test -d "sbin"; then
|
||||
if ! test -f "sbin/apk.static"; then
|
||||
tar -xzf "$apktools"
|
||||
fi
|
||||
|
||||
# install in chroot.
|
||||
"${installdir}/tmp/sbin/apk.static" -X "${mirror}/v3.0/main" -U --allow-untrusted --root "${installdir}" --initdb add alpine-base
|
||||
"$tmpdir/sbin/apk.static" -X "${mirror}/v3.0/main" -U --allow-untrusted --root "${installdir}" --initdb add alpine-base
|
||||
|
||||
# copy etc/resolv.conf
|
||||
mkdir -p "${installdir}/etc"
|
||||
|
Loading…
Reference in New Issue
Block a user