From 2996f9eab6bbe6cd577a9507322579fe9e41610c Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sat, 11 Apr 2020 16:45:56 +0200 Subject: [PATCH] adding hook for a bare-bones parabola package build vm --- src/hooks/hook-parabola-buildbox.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/hooks/hook-parabola-buildbox.sh diff --git a/src/hooks/hook-parabola-buildbox.sh b/src/hooks/hook-parabola-buildbox.sh new file mode 100644 index 0000000..d85ccfa --- /dev/null +++ b/src/hooks/hook-parabola-buildbox.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +set -e + +# essential tools +pacman -S --noconfirm base-devel libretools + +# matter of preference +pacman -S --noconfirm vim bash-completion + +# create builduser +useradd -mU parabola +chpasswd <<<"parabola:parabola" + +# enable sudo access +cat >> /etc/sudoers <