test: improve VM image creation.

This commit is contained in:
Alexandre Pujol 2023-07-08 12:34:18 +01:00
parent 62cb1d9b96
commit 537e34739d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 19 additions and 6 deletions

View file

@ -21,6 +21,7 @@ main() {
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
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 ;;