Package Details: linux-git 4.6rc6.r72.g33656a1-1

Git Clone URL: (read-only)
Package Base: linux-git
Description: The Linux kernel and modules (git version)
Upstream URL:
Keywords: git kernel linux
Licenses: GPL2
Conflicts: kernel26-git
Provides: kernel26-git=4.6rc6.r72.g33656a1
Replaces: kernel26-git
Submitter: xduugu
Maintainer: Boohbah
Last Packager: Boohbah
Votes: 46
Popularity: 1.230424
First Submitted: 2011-05-30 07:43
Last Updated: 2016-05-02 22:21

Latest Comments

misc commented on 2016-05-01 11:51

Just a heads-up, if CONFIG_STACK_VALIDATION is set later, it'll require…
mkdir -p ${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool
cp -a tools/objtool/objtool ${pkgdir}/usr/lib/modules/${_kernver}/build/tools/objtool/
… otherwise building of out-of-tree modules will just fail without explanation.

eworm commented on 2016-02-24 16:45

Can you please update config with new option CONFIG_DEBUG_WQ_FORCE_RR_CPU?

bwidawsk commented on 2015-12-28 21:38

This problem is present in the upstream PKGBUILD. It would be good to get it addressed there so that the other kernel packages don't have to all roll their own thing. I don't understand the reason for including the Kconfig files anyway, so I am planning to just remove that for loop (

But, even if you want to keep them, I think the correct thing is to actually copy the files just named "Kconfig"
diff --git a/PKGBUILD b/PKGBUILD
index 6d9c120..2a22226 100644
@@ -227,7 +227,7 @@ _package-headers() {
mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/mm"

# copy in Kconfig files
- for i in $(find . -name "Kconfig*"); do
+ for i in $(find . -name "Kconfig"); do
mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'`
cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}"

My guess is the Kconfig are there for record keeping, anybody know?

Boohbah commented on 2015-12-14 02:45

jyc: Thanks for the fix. I added it to the PKGBUILD.

esrevinu commented on 2015-12-02 14:59

I had the same issue as jyc reported. Jyc's workaround is working.

KozRoss commented on 2015-11-21 08:11

This fails to build for me with the following error:

cp: Cannot stat 'arch//Makefile': No such file or directory.

What am I missing?

jyc commented on 2015-11-19 03:27

I had an error where a package conflict occurred because the following files were included in both the -doc and -header package:


This is due to line 226 copying any file with Kconfig in its name.
A workaround is just to add right after that the following line:

rm "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/kbuild"/Kconfig.*-*

This removes the extraneous files that look like Kconfig files but are actually just documentation.

ackalker commented on 2015-11-01 13:29

Some kind requests and a question:
- Please update config{,.x86_64} files to latest in core/linux (this package: "Linux/x86 4.2.0-2 Kernel Configuration", core/linux: "Linux/x86 4.2.3-1 Kernel Configuration")
- Please add git to makedepends, to make `makepkg -s` happy.
- Why also use "replaces=" in package functions? Why not rely on just "conflicts="/"provides="?

Buddlespit commented on 2015-08-09 21:45

For those of us having nvidia build issues:

diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 5243d4b..a0339f9 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -2619,7 +2619,7 @@ void flush_workqueue(struct workqueue_struct *wq)

* drain_workqueue - drain a workqueue

and edit PKGBUILD:

# Nvidia Patch
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk


pkgver() {
cd "${_srcname}"

git describe --long | sed -E sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g;s/\.rc/rc/'

prepare() {
cd "${_srcname}"

patch -p1 -i "${srcdir}/nvidia.patch"

if [ "${CARCH}" = "x86_64" ]; then
cat "${srcdir}/config.x86_64" > ./.config
cat "${srcdir}/config" > ./.config

yurikoles commented on 2015-06-17 15:39

Please use google mirror!

All comments