summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD12
-rw-r--r--config2
-rw-r--r--config.x86_642
4 files changed, 19 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0b42c249624..2fb7a12c3ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-macbook
pkgver = 4.7.2
- pkgrel = 1
+ pkgrel = 2
url = http://www.kernel.org/
arch = i686
arch = x86_64
@@ -29,8 +29,8 @@ pkgbase = linux-macbook
sha256sums = SKIP
sha256sums = 031cb0e7b86f2ef2cc4d0dde9d73495f68e8d23e4c41f50f7f95b065ee33a71d
sha256sums = SKIP
- sha256sums = ba61080d6ba852b3dc10ed056efbd80bdff6555a7ae4cf40373c7544d36ffcc9
- sha256sums = 3b41dde76dd69ec6e088bd19e724f3eabd30eaf43727a1948c6603242dc08cd8
+ sha256sums = d588b025cd5106c3d15b5b2ef89feb1f14d635af3dd2b09994dcb33bb7fdc23c
+ sha256sums = fb8fdfd81384d98ffe6dd1bfe187639c264f20f6c33834baa4c583442f03571a
sha256sums = f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c
sha256sums = bb8af32880059e681396a250d8e78f600f248da8ad4f0e76d7923badb5ee8b42
sha256sums = 4d4a622733c2ba742256f369c32a1e98fc216966589f260c7457d299dbb55971
@@ -49,7 +49,13 @@ pkgname = linux-macbook
pkgname = linux-macbook-headers
pkgdesc = Header files and scripts for building modules for Linux-macbook kernel (with brightness key and suspend patches)
+ depends = linux-macbook
+ provides = linux-macbook-headers=4.7.2
+ provides = linux-headers=4.7.2
pkgname = linux-macbook-docs
pkgdesc = Kernel hackers manual - HTML documentation that comes with the Linux-macbook kernel (with brightness key and suspend patches)
+ depends = linux-macbook
+ provides = linux-macbook-docs=4.7.2
+ provides = linux-docs=4.7.2
diff --git a/PKGBUILD b/PKGBUILD
index 5777cd00a30..3ec81499cdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,9 +4,10 @@
# Maintainer: Tony Lambiris <tony@critialstack.com>
pkgbase=linux-macbook # Build kernel with a different name
+_kernelname=-macbook
_srcname=linux-4.7
pkgver=4.7.2
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
@@ -29,8 +30,8 @@ sha256sums=('5190c3d1209aeda04168145bf50569dc0984f80467159b1dc50ad731e3285f10'
'SKIP'
'031cb0e7b86f2ef2cc4d0dde9d73495f68e8d23e4c41f50f7f95b065ee33a71d'
'SKIP'
- 'ba61080d6ba852b3dc10ed056efbd80bdff6555a7ae4cf40373c7544d36ffcc9'
- '3b41dde76dd69ec6e088bd19e724f3eabd30eaf43727a1948c6603242dc08cd8'
+ 'd588b025cd5106c3d15b5b2ef89feb1f14d635af3dd2b09994dcb33bb7fdc23c'
+ 'fb8fdfd81384d98ffe6dd1bfe187639c264f20f6c33834baa4c583442f03571a'
'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c'
'bb8af32880059e681396a250d8e78f600f248da8ad4f0e76d7923badb5ee8b42'
'4d4a622733c2ba742256f369c32a1e98fc216966589f260c7457d299dbb55971'
@@ -160,7 +161,8 @@ _package() {
_package-headers() {
pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel (with brightness key and suspend patches)"
-
+ depends=('linux-macbook') # added to keep kernel and headers packages matched
+ provides=("linux-macbook-headers=${pkgver}" "linux-headers=${pkgver}")
install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
cd "${srcdir}/${_srcname}"
@@ -288,6 +290,8 @@ _package-headers() {
_package-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel (with brightness key and suspend patches)"
+ depends=('linux-macbook') # added to keep kernel and headers packages matched
+ provides=("linux-macbook-docs=${pkgver}" "linux-docs=${pkgver}")
cd "${srcdir}/${_srcname}"
diff --git a/config b/config
index 76db9b18c6e..5631a6382d0 100644
--- a/config
+++ b/config
@@ -164,7 +164,7 @@ CONFIG_CGROUP_CPUACCT=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
-# CONFIG_USER_NS is not set
+CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_SCHED_AUTOGROUP=y
diff --git a/config.x86_64 b/config.x86_64
index c197e7ae8bc..f341afd0526 100644
--- a/config.x86_64
+++ b/config.x86_64
@@ -173,7 +173,7 @@ CONFIG_CGROUP_CPUACCT=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
-# CONFIG_USER_NS is not set
+CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_SCHED_AUTOGROUP=y