~comcloudway/builds.sr.ht

48fa5794c1f4a6f5931fb9d085feab99acc02825 — Dhruvin Gandhi 2 years ago 0467110
alpine: run setup-timezone conditionally

alpine-conf dropped setup-timezone's -z flag used to specify the
timezone and is now accepting it as an arg (in commit 3b793bb).
1 files changed, 2 insertions(+), 1 deletions(-)

M images/alpine/genimg
M images/alpine/genimg => images/alpine/genimg +2 -1
@@ 82,15 82,16 @@ iface eth0 inet static
	gateway 10.0.2.2
EOF
run_root setup-dns -d example.org 8.8.8.8 8.8.4.4
run_root setup-timezone -z UTC
if [ "$release" = "edge" ]
then
	run_root setup-timezone UTC
	cat >/mnt/etc/apk/repositories <<EOF
http://dl-cdn.alpinelinux.org/alpine/$release/main
http://dl-cdn.alpinelinux.org/alpine/$release/community
http://dl-cdn.alpinelinux.org/alpine/$release/testing
EOF
else
	run_root setup-timezone -z UTC
	cat >/mnt/etc/apk/repositories <<EOF
http://dl-cdn.alpinelinux.org/alpine/$release/main
http://dl-cdn.alpinelinux.org/alpine/$release/community