[Pkg-libvirt-commits] [libvirt] 02/02: apparmor: cater for new AAVMF image location

Guido Guenther agx at moszumanska.debian.org
Mon Sep 18 17:10:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to branch debian/sid
in repository libvirt.

commit 498c98581c0bdf91ecd0fc71ab37e8eb4a535384
Author: Guido Günther <agx at sigxcpu.org>
Date:   Fri Sep 15 18:11:09 2017 +0200

    apparmor: cater for new AAVMF image location
---
 ...parmor-cater-for-new-AAVMF-image-location.patch | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/apparmor-cater-for-new-AAVMF-image-location.patch b/debian/patches/apparmor-cater-for-new-AAVMF-image-location.patch
new file mode 100644
index 0000000..8078568
--- /dev/null
+++ b/debian/patches/apparmor-cater-for-new-AAVMF-image-location.patch
@@ -0,0 +1,23 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Fri, 15 Sep 2017 18:04:21 +0200
+Subject: apparmor: cater for new AAVMF image location
+
+Things moved again, sigh.
+---
+ src/security/virt-aa-helper.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
+index 322c5e4..7944dc1 100644
+--- a/src/security/virt-aa-helper.c
++++ b/src/security/virt-aa-helper.c
+@@ -516,7 +516,8 @@ valid_path(const char *path, const bool readonly)
+         "/usr/share/OVMF/",              /* for OVMF images */
+         "/usr/share/ovmf/",              /* for OVMF images */
+         "/usr/share/AAVMF/",             /* for AAVMF images */
+-        "/usr/share/qemu-efi/"           /* for AAVMF images */
++        "/usr/share/qemu-efi/",          /* for AAVMF images */
++        "/usr/share/qemu-efi-aarch64/"   /* for AAVMF images */
+     };
+     /* override the above with these */
+     const char * const override[] = {
diff --git a/debian/patches/series b/debian/patches/series
index c0cea72..7ced0fc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -17,3 +17,4 @@ debian/apparmor_profiles_local_include.patch
 Set-defaults-for-zfs-tools.patch
 Pass-GPG_TTY-env-var-to-the-ssh-binary.patch
 apparmor-add-attach_disconnected.patch
+apparmor-cater-for-new-AAVMF-image-location.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git



More information about the Pkg-libvirt-commits mailing list