#!/bin/zsh
DO=$0
main() {
	args build_dir fstab arch release repositories alpine_mirror
	clone-depend alpine-repo-init \
		arch: release: repositories: alpine_mirror:
	eval $(getvars)

	local -a apk_args
	apk_args=(
		--root $build_dir
		--arch $arch
		add alpine-base
	)
	apk.static $apk_args || die "alpine init failed"
}
. ./common.zsh
# vim: fileencoding=utf8 ft=zsh noet sw=4 ts=4 sts=4