summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2018-07-03 10:30:12 -0500
committerMatthias Maier <tamiko@gentoo.org>2018-07-03 10:30:47 -0500
commitf759fae5bc8549729bb3632af65be9f2ff256635 (patch)
tree5fde37812242ed10e8f51acee1a0caf8a3b495d7 /app-emulation
parentsys-kernel/gentoo-sources: Linux patch 4.14.53 (diff)
downloadgentoo-f759fae5bc8549729bb3632af65be9f2ff256635.tar.gz
gentoo-f759fae5bc8549729bb3632af65be9f2ff256635.tar.bz2
gentoo-f759fae5bc8549729bb3632af65be9f2ff256635.zip
app-emulation/libvirt: fix typo in apparmor rule
Thanks to holgersson for pointing this out. Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libvirt/files/libvirt-4.5.0-fix_typo_in_apparmor_rule.patch13
-rw-r--r--app-emulation/libvirt/libvirt-4.5.0-r1.ebuild (renamed from app-emulation/libvirt/libvirt-4.5.0.ebuild)1
2 files changed, 14 insertions, 0 deletions
diff --git a/app-emulation/libvirt/files/libvirt-4.5.0-fix_typo_in_apparmor_rule.patch b/app-emulation/libvirt/files/libvirt-4.5.0-fix_typo_in_apparmor_rule.patch
new file mode 100644
index 000000000000..4d1bfaf5e3b5
--- /dev/null
+++ b/app-emulation/libvirt/files/libvirt-4.5.0-fix_typo_in_apparmor_rule.patch
@@ -0,0 +1,13 @@
+diff --git a/examples/apparmor/usr.libexec.virt-aa-helper b/examples/apparmor/usr.libexec.virt-aa-helper
+index d21723f..99ab4ea 100644
+--- a/examples/apparmor/usr.libexec.virt-aa-helper
++++ b/examples/apparmor/usr.libexec.virt-aa-helper
+@@ -50,7 +50,7 @@ profile virt-aa-helper /usr/libexec/virt-aa-helper {
+ @{HOME}/** r,
+ /var/lib/libvirt/images/ r,
+ /var/lib/libvirt/images/** r,
+- /var/lib/nova/instances/_base/* r
++ /var/lib/nova/instances/_base/* r,
+ /{media,mnt,opt,srv}/** r,
+ # For virt-sandbox
+ /{,var/}run/libvirt/**/[sv]d[a-z] r,
diff --git a/app-emulation/libvirt/libvirt-4.5.0.ebuild b/app-emulation/libvirt/libvirt-4.5.0-r1.ebuild
index 968cefa79eac..b98d98cfe371 100644
--- a/app-emulation/libvirt/libvirt-4.5.0.ebuild
+++ b/app-emulation/libvirt/libvirt-4.5.0-r1.ebuild
@@ -125,6 +125,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.5.0-do_not_use_sysconf.patch
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-3.10.0-r2-fix_paths_for_apparmor.patch
+ "${FILESDIR}"/${PN}-4.5.0-fix_typo_in_apparmor_rule.patch
)
pkg_setup() {