mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
tests(packer): add more software in the generated vm.
This commit is contained in:
parent
fcdb9079ee
commit
2f33ff2602
3 changed files with 10 additions and 1 deletions
|
@ -39,6 +39,9 @@ packages:
|
||||||
|
|
||||||
# Install basic services
|
# Install basic services
|
||||||
- networkmanager
|
- networkmanager
|
||||||
|
- cups
|
||||||
|
- cups-pdf
|
||||||
|
- system-config-printer
|
||||||
|
|
||||||
# Install Graphical Interface
|
# Install Graphical Interface
|
||||||
- gnome
|
- gnome
|
||||||
|
|
|
@ -39,12 +39,17 @@ packages:
|
||||||
|
|
||||||
# Install basic services
|
# Install basic services
|
||||||
- networkmanager
|
- networkmanager
|
||||||
|
- cups
|
||||||
|
- cups-pdf
|
||||||
|
- system-config-printer
|
||||||
|
|
||||||
# Install Graphical Interface
|
# Install Graphical Interface
|
||||||
- plasma-meta
|
- plasma-meta
|
||||||
- plasma-wayland-session
|
- plasma-wayland-session
|
||||||
- sddm
|
- sddm
|
||||||
|
- dolphin
|
||||||
- konsole
|
- konsole
|
||||||
|
- ark
|
||||||
|
|
||||||
# Install Applications
|
# Install Applications
|
||||||
- firefox
|
- firefox
|
||||||
|
|
|
@ -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/.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/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 -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 -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-update /usr/bin/aa-update
|
||||||
install -Dm0755 $SRC/aa-log-clean /usr/bin/aa-log-clean
|
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/"
|
chown -R "$SUDO_USER:$SUDO_USER" "/home/$SUDO_USER/.config/"
|
||||||
case "$DISTRIBUTION" in
|
case "$DISTRIBUTION" in
|
||||||
arch) pacman --noconfirm -U $SRC/apparmor.d-*-x86_64.pkg.tar.zst ;;
|
arch) pacman --noconfirm -U $SRC/apparmor.d-*-x86_64.pkg.tar.zst ;;
|
||||||
|
|
Loading…
Reference in a new issue