diff options
author | Adrian Perez de Castro | 2016-10-09 23:23:22 +0300 |
---|---|---|
committer | Adrian Perez de Castro | 2016-10-09 23:23:22 +0300 |
commit | 21c542a05aa20b480995aeb29598a509c2dcc6c3 (patch) | |
tree | 6bfd679e54ace841b9b0dcda0499ae53b2c39efa | |
parent | 9b610f3aec349e599588a35b383d6a48a2ed6d8d (diff) | |
download | aur-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`.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 6 deletions
@@ -1,11 +1,10 @@ # Generated by mksrcinfo v8 -# Sun May 8 09:52:50 UTC 2016 +# Sun Oct 9 20:23:10 UTC 2016 pkgbase = bubblewrap-git pkgdesc = Unprivileged sandboxing tool - pkgver = r139.bf6e356 + pkgver = 0.1.2.r1.g169db04 pkgrel = 1 url = https://github.com/projectatomic/bubblewrap - install = bubblewrap.install arch = x86_64 arch = i686 license = LGPL @@ -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 } |