summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcreate_hdd.sh3
-rwxr-xr-xprepare_stage3.sh3
2 files changed, 3 insertions, 3 deletions
diff --git a/create_hdd.sh b/create_hdd.sh
index fd68e60..38829da 100755
--- a/create_hdd.sh
+++ b/create_hdd.sh
@@ -88,8 +88,11 @@ mkdir root/.ssh
cp "$HOME/.ssh/id_rsa.pub" root/.ssh/authorized_keys
# install a build user and build directory
+# tty group for coreutils
+# systemd-journal group for systemd
cat >> etc/group <<EOF
tty:x:5:
+systemd-journal:x:190:
build:x:1001:
EOF
cat >> etc/passwd <<EOF
diff --git a/prepare_stage3.sh b/prepare_stage3.sh
index 2db5ece..7b4fdcb 100755
--- a/prepare_stage3.sh
+++ b/prepare_stage3.sh
@@ -21,9 +21,6 @@ if test ! -d $STAGE3_BUILD; then
# stage 2, for now we just copy the vm from stage1 after building
# and installing all packages from stage 2 and use it as new build
# machine.
-
- # systemd-journal group for systemd
- getent group systemd-journal >/dev/null || groupadd -g 190 systemd-journal
echo "Prepared the stage 3 build environment."
fi