summaryrefslogblamecommitdiff
path: root/.apkfoundry/master/bootstrap
blob: f108ea7827f4a359944a4917db955885013a5427 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                       
#!/bin/sh -e
# vi:noet
. "$AF_LIBEXEC/af-functions"

"${0%/*}/refresh"

# If the hosts(5) and/or resolv.conf(5) are unmodified, apk will try to
# overwrite them even though they are read-only. So we work around it
# using symlinks.
ln -srf /af/config/host/hosts /etc/hosts
ln -srf /af/config/host/resolv.conf /etc/resolv.conf

ln -srf /usr/share/zoneinfo/UTC /etc/localtime

apk upgrade -Ual

af_mkuser
af_userconf