From 2b83d922fe67133234ca004e5b89c84959c7eeed Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Thu, 19 Jul 2018 22:38:36 -0400 Subject: [PATCH] snap: patch lxc with minor patch for Anbox specific Apparmor child profile handling --- snap/snapcraft.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 28c1c73..30ed3a1 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -171,6 +171,16 @@ parts: - --enable-capabilities - --with-rootfs-path=/var/snap/anbox/common/lxc/ - --libexecdir=/snap/anbox/current/libexec/ + override-build: | + set -ex + git config user.email "buildbot@anbox.io" + git config user.name "Anbox Buildbot" + git remote add anbox https://github.com/anbox/lxc + git fetch anbox + # apparmor: don't require a transition for Anbox child profiles + git cherry-pick 2f81fb7c91560b32e506bb874f8cd63e37985906 + set +ex + snapcraftctl build organize: snap/anbox/current/libexec: libexec prime: