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

Git Clone URL: https://aur.archlinux.org/linux-git.git (read-only)
Package Base: linux-git
Description: The Linux kernel and modules (git version)
Upstream URL: http://www.kernel.org/
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 (https://aur.archlinux.org/cgit/aur.git/commit/?h=linux-drm-intel-nightly&id=4b5f3d6a9972bc206e8d792c45d6b078a754a91ehttps://aur.archlinux.org/cgit/aur.git/commit/?h=linux-drm-intel-nightly&id=4b5f3d6a9972bc206e8d792c45d6b078a754a91e.

But, even if you want to keep them, I think the correct thing is to actually copy the files just named "Kconfig"
[code]
diff --git a/PKGBUILD b/PKGBUILD
index 6d9c120..2a22226 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}"
done
[/code]

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:

/usr/lib/modules/4.4.0-rc1-g34258a3/build/Documentation/kbuild/Kconfig.recursion-issue-01
/usr/lib/modules/4.4.0-rc1-g34258a3/build/Documentation/kbuild/Kconfig.recursion-issue-02
/usr/lib/modules/4.4.0-rc1-g34258a3/build/Documentation/kbuild/Kconfig.select-break

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:
nvidia.patch

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)
out_unlock:
mutex_unlock(&wq->mutex);
}
-EXPORT_SYMBOL_GPL(flush_workqueue);
+EXPORT_SYMBOL(flush_workqueue);

/**
* drain_workqueue - drain a workqueue

and edit PKGBUILD:

source=('git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
# Nvidia Patch
'nvidia.patch'
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
"${pkgbase}.preset")
sha256sums=('SKIP'
'SKIP'
'f4c6a5c2fc0ee2b792e43f4c1846b995051901a502fb97885d2296af55fa193d'
'd5ed43ed651219d246816bcf3523204ce2fd5f32525d74d61f70ce237ea64fe4'
'95fcfdfcb9d540d1a1428ce61e493ddf2c2a8ec96c8573deeadbb4ee407508c7')

_kernelname=${pkgbase#linux}

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
else
cat "${srcdir}/config" > ./.config
fi

yurikoles commented on 2015-06-17 15:39

Please use google mirror! https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux

All comments