diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-09-11 08:26:07 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-09-11 08:27:06 -0700 |
commit | 12ec7f0c607f6b94959d20e21cd1446c26193ce7 (patch) | |
tree | b9badd2ae3e882f9574adbfefaea2ce7280e8aa9 /app-containers | |
parent | dev-util/meson-0.63.2-r1: teach meson to detect xtools linkers (diff) | |
download | gentoo-12ec7f0c607f6b94959d20e21cd1446c26193ce7.tar.gz gentoo-12ec7f0c607f6b94959d20e21cd1446c26193ce7.tar.bz2 gentoo-12ec7f0c607f6b94959d20e21cd1446c26193ce7.zip |
app-containers/snapd: add snapd-apparmor service
Closes: https://bugs.gentoo.org/869695
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r-- | app-containers/snapd/snapd-2.57.2-r1.ebuild (renamed from app-containers/snapd/snapd-2.57.2.ebuild) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-containers/snapd/snapd-2.57.2.ebuild b/app-containers/snapd/snapd-2.57.2-r1.ebuild index 7e134a2b558e..35255adff108 100644 --- a/app-containers/snapd/snapd-2.57.2.ebuild +++ b/app-containers/snapd/snapd-2.57.2-r1.ebuild @@ -118,7 +118,7 @@ src_compile() { local -a staticflags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS} -static'" -trimpath) local cmd - for cmd in snap snapd snap-bootstrap snap-failure snap-preseed snap-recovery-chooser snap-repair snap-seccomp; do + for cmd in snap snapd snapd-apparmor snap-bootstrap snap-failure snap-preseed snap-recovery-chooser snap-repair snap-seccomp; do go build ${GOFLAGS} -mod=vendor -o "${GOBIN}/${cmd}" "${flags[@]}" \ -v -x "github.com/snapcore/${PN}/cmd/${cmd}" [[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}" @@ -145,7 +145,7 @@ src_install() { ln "${ED}/usr/bin/snapctl" "${ED}/usr/lib/snapd/snapctl" || die exeinto /usr/lib/snapd - doexe "${GOBIN}/"{snapd,snap-bootstrap,snap-failure,snap-exec,snap-preseed,snap-recovery-chooser,snap-repair,snap-seccomp,snap-update-ns} \ + doexe "${GOBIN}/"{snapd,snapd-apparmor,snap-bootstrap,snap-failure,snap-exec,snap-preseed,snap-recovery-chooser,snap-repair,snap-seccomp,snap-update-ns} \ "${S}/"{cmd/snap-discard-ns/snap-discard-ns,cmd/snap-gdb-shim/snap-gdb-shim,cmd/snap-mgmt/snap-mgmt} \ "${S}/data/completion/bash/"{complete.sh,etelpmoc.sh,} |