summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-11-07 18:39:44 -0800
committerZac Medico <zmedico@gentoo.org>2021-11-07 18:40:57 -0800
commit3373cca48e575bece69b1c76a3dc8482c29810ce (patch)
treed46bf233c287d3daebb2adc7dc6b8acf7b489a75 /app-emulation
parentsys-fs/zfs: re-introduce coreutils-9 blocker to 2.1.1 (diff)
downloadgentoo-3373cca48e575bece69b1c76a3dc8482c29810ce.tar.gz
gentoo-3373cca48e575bece69b1c76a3dc8482c29810ce.tar.bz2
gentoo-3373cca48e575bece69b1c76a3dc8482c29810ce.zip
app-emulation/snapd: Rebase USE=-forced-devmode
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/snapd/snapd-2.53.1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/snapd/snapd-2.53.1.ebuild b/app-emulation/snapd/snapd-2.53.1.ebuild
index c0a495cddebe..3eb5f9353258 100644
--- a/app-emulation/snapd/snapd-2.53.1.ebuild
+++ b/app-emulation/snapd/snapd-2.53.1.ebuild
@@ -70,7 +70,7 @@ src_prepare() {
"${MY_S}/cmd/snap-confine/snap-confine.apparmor.in" || die
if ! use forced-devmode; then
- sed -e 's#return \(!apparmorFull || cgroupv2\)#//\1\n\tif !apparmorFull || cgroupv2 {\n\t\tpanic("USE=forced-devmode is disabled")\n\t}\n\treturn false#' \
+ sed -e 's#return !apparmorFull#if !apparmorFull {\n\t\tpanic("USE=forced-devmode is disabled")\n\t}\n\treturn false#' \
-i "${MY_S}/sandbox/forcedevmode.go" || die
grep -q 'panic("USE=forced-devmode is disabled")' "${MY_S}/sandbox/forcedevmode.go" || die "failed to disable forced-devmode"
fi