From 2f33ff2602f9ce3cc4c0544fa9ff0c491b9ce12a Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 1 Sep 2023 19:16:04 +0100 Subject: [PATCH] tests(packer): add more software in the generated vm. --- tests/packer/init/archlinux-gnome.user-data.yml | 3 +++ tests/packer/init/archlinux-kde.user-data.yml | 5 +++++ tests/packer/init/init.sh | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/packer/init/archlinux-gnome.user-data.yml b/tests/packer/init/archlinux-gnome.user-data.yml index 97815bc7..4a5cdb10 100644 --- a/tests/packer/init/archlinux-gnome.user-data.yml +++ b/tests/packer/init/archlinux-gnome.user-data.yml @@ -39,6 +39,9 @@ packages: # Install basic services - networkmanager + - cups + - cups-pdf + - system-config-printer # Install Graphical Interface - gnome diff --git a/tests/packer/init/archlinux-kde.user-data.yml b/tests/packer/init/archlinux-kde.user-data.yml index a466915a..435bf4c5 100644 --- a/tests/packer/init/archlinux-kde.user-data.yml +++ b/tests/packer/init/archlinux-kde.user-data.yml @@ -39,12 +39,17 @@ packages: # Install basic services - networkmanager + - cups + - cups-pdf + - system-config-printer # Install Graphical Interface - plasma-meta - plasma-wayland-session - sddm + - dolphin - konsole + - ark # Install Applications - firefox diff --git a/tests/packer/init/init.sh b/tests/packer/init/init.sh index a8075f30..11b5e4fa 100644 --- a/tests/packer/init/init.sh +++ b/tests/packer/init/init.sh @@ -19,10 +19,11 @@ main() { install -Dm0644 -o "$SUDO_USER" -g "$SUDO_USER" $SRC/.bash_aliases "/home/$SUDO_USER/.bash_aliases" install -Dm0644 -o "$SUDO_USER" -g "$SUDO_USER" $SRC/monitors.xml "/home/$SUDO_USER/.config/monitors.xml" install -Dm0644 -o "$SUDO_USER" -g "$SUDO_USER" $SRC/htoprc "/home/$SUDO_USER/.config/htop/htoprc" - install -Dm0644 $SRC/parser.conf /etc/apparmor/parser.conf install -Dm0644 $SRC/site.local /etc/apparmor.d/tunables/multiarch.d/site.local install -Dm0755 $SRC/aa-update /usr/bin/aa-update install -Dm0755 $SRC/aa-log-clean /usr/bin/aa-log-clean + install -Dm0755 $SRC/aa-test /usr/bin/aa-test + cat $SRC/parser.conf >> /etc/apparmor/parser.conf chown -R "$SUDO_USER:$SUDO_USER" "/home/$SUDO_USER/.config/" case "$DISTRIBUTION" in arch) pacman --noconfirm -U $SRC/apparmor.d-*-x86_64.pkg.tar.zst ;;