2018-03-07 23:52:40 +00:00
|
|
|
|
|
|
|
: ${DEBIAN_MIRROR:="https://deb.debian.org/debian"}
|
|
|
|
: ${DEBIAN_RELEASE:="buster"}
|
|
|
|
|
|
|
|
BASE_PACKAGES="debootstrap iproute2 less xz-utils sudo dbus libpam-systemd openssh-client packagekit-gtk3-module libcanberra-gtk3-module libpulse0 fonts-roboto-hinted bash-completion"
|
|
|
|
|
|
|
|
BASE_PRE_INSTALL_MODULES="utility-library configure-locale create-user set-hostname no-install-recommends write-apt-sources"
|
|
|
|
|
2018-03-11 23:05:48 +00:00
|
|
|
BASE_POST_INSTALL_MODULES="loginctl-enable-linger configure-systemd install-configure-host0 install-launch-script"
|
2018-03-07 23:52:40 +00:00
|
|
|
|
|
|
|
trap "exit 1" TERM
|
|
|
|
export TOP_PID=$$
|
|
|
|
|
|
|
|
fatal() {
|
|
|
|
>&2 echo "Fatal: ${1}"
|
|
|
|
kill -s TERM $TOP_PID
|
|
|
|
}
|
|
|
|
|
|
|
|
info() {
|
|
|
|
printf "[+] ${1}\n"
|
|
|
|
}
|