summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdrian Perez de Castro2016-10-09 23:23:22 +0300
committerAdrian Perez de Castro2016-10-09 23:23:22 +0300
commit21c542a05aa20b480995aeb29598a509c2dcc6c3 (patch)
tree6bfd679e54ace841b9b0dcda0499ae53b2c39efa /PKGBUILD
parent9b610f3aec349e599588a35b383d6a48a2ed6d8d (diff)
downloadaur-21c542a05aa20b480995aeb29598a509c2dcc6c3.tar.gz
Fix choice of --with-priv-mode= build setting
As indicated by @yawning: * USER_NS should use `--with-priv-mode=none`. * Non-USER_NS should use `--with-priv-mode=caps`.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a82e1bbd1f1..709191f27a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@ pkgname='bubblewrap-git'
pkgdesc='Unprivileged sandboxing tool'
url='https://github.com/projectatomic/bubblewrap'
license=('LGPL')
-pkgver=0.1.2.r0.g089327d
+pkgver=0.1.2.r1.g169db04
pkgrel=1
arch=('x86_64' 'i686')
makedepends=('autoconf' 'automake' 'libxslt')
@@ -11,13 +11,13 @@ provides=('bubblewrap')
source=("${pkgname}::git+${url}")
sha512sums=('SKIP')
-_privmode='setuid'
+_privmode='caps'
_set_privmode () {
if [[ -r /proc/config.gz ]] ; then
eval "$(zgrep '^CONFIG_USER_NS=' /proc/config.gz)"
if [[ -n ${CONFIG_USER_NS} && ${CONFIG_USER_NS} != n ]] ; then
install='bubblewrap.install'
- _privmode='caps'
+ _privmode='none'
fi
fi
}