diff options
author | Joan Figueras | 2020-01-17 17:08:04 +0100 |
---|---|---|
committer | Joan Figueras | 2020-01-17 17:08:04 +0100 |
commit | cbbc46dad59195d34d6d3ea7bcc17637ec2ade62 (patch) | |
tree | bce62c628c529bdd05cc600222802d4380b0058b | |
parent | 15c546986e7aa6bcce59c8a911def353dad8d33d (diff) | |
download | aur-cbbc46dad59195d34d6d3ea7bcc17637ec2ade62.tar.gz |
4.19.96-xanmod46
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 19 insertions, 6 deletions
@@ -1,5 +1,5 @@ pkgbase = linux-xanmod-lts - pkgver = 4.19.93 + pkgver = 4.19.96 pkgrel = 1 url = http://www.xanmod.org/ arch = x86_64 @@ -12,13 +12,13 @@ pkgbase = linux-xanmod-lts makedepends = python-sphinx makedepends = graphviz options = !strip - source = https://github.com/xanmod/linux/archive/4.19.93-xanmod45.tar.gz + source = https://github.com/xanmod/linux/archive/4.19.96-xanmod46.tar.gz source = 60-linux.hook source = 90-linux.hook source = linux-xanmod-lts.preset source = choose-gcc-optimization.sh source = 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch - sha256sums = 804d0045457c9387c5e706c8eef9a83fb07a94070a4c3762e0fad3dc1baf80da + sha256sums = 6d1254efab5bfbb1d88d8d397b90133176266b0e1b668ecfa2c29789caff7b72 sha256sums = ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21 sha256sums = 75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919 sha256sums = ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65 @@ -40,11 +40,19 @@ fi if [ -z ${use_pds+x} ]; then use_pds=n fi +## +## Enable CONFIG_USER_NS_UNPRIVILEGED flag https://aur.archlinux.org/cgit/aur.git/tree/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch?h=linux-ck +## Set variable "use_ns" to: n to disable (stock Xanmod) +## y to enable (stock Archlinux) +if [ -z ${use_ns+x} ]; then + use_ns=n +fi +## pkgbase=linux-xanmod-lts _srcname=linux -pkgver=4.19.93 -xanmod=45 +pkgver=4.19.96 +xanmod=46 pkgrel=1 arch=(x86_64) url="http://www.xanmod.org/" @@ -61,7 +69,7 @@ source=(https://github.com/xanmod/linux/archive/${pkgver}-xanmod${xanmod}.tar.gz 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch # Grabbed from linux-ck package ) -sha256sums=('804d0045457c9387c5e706c8eef9a83fb07a94070a4c3762e0fad3dc1baf80da' +sha256sums=('6d1254efab5bfbb1d88d8d397b90133176266b0e1b668ecfa2c29789caff7b72' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' '75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919' 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65' @@ -112,6 +120,11 @@ prepare() { scripts/config --enable CONFIG_SCHED_PDS fi + if [ "$use_ns" = "n" ]; then + msg2 "Disabling CONFIG_USER_NS_UNPRIVILEGED" + scripts/config --disable CONFIG_USER_NS_UNPRIVILEGED + fi + # Let's user choose microarchitecture optimization in GCC ${srcdir}/choose-gcc-optimization.sh $_microarchitecture |