aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap5
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index ca7cffe..cfbf59a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -155,6 +155,8 @@ if [ "$stage" -eq "1" ]; then
pkgs+=",bzip2,xz-utils"
pkgs+=",less,nano"
+ pkgs+=",qemu-kvm,socat"
+
pkgs+=",g++,pkg-config"
sudo debootstrap \
@@ -293,6 +295,7 @@ set -x
#
addgroup --gid 2000 build
adduser --uid 2000 --gid 2000 --home /build --gecos "" --disabled-password build
+adduser build kvm
echo "build ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/build
chmod 0440 /etc/sudoers.d/build
@@ -415,6 +418,8 @@ EOF
subvol_snapshot -r "$root" "$root-5"
fi
+exit 0
+
# Test.
#
if [ ! -e /tmp/buildos-state ]; then