Package Base Details: linux-git

Git Clone URL: https://aur.archlinux.org/linux-git.git (read-only)
Keywords: git kernel linux
Submitter: xduugu
Maintainer: Boohbah
Last Packager: Boohbah
Votes: 65
Popularity: 0.127309
First Submitted: 2011-05-30 07:43
Last Updated: 2019-02-18 06:27

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 ... Next › Last »

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

ZeroBit commented on 2015-05-23 06:42

Is it possible to have linux-git 4.1rc4 ?

Boohbah commented on 2015-04-14 22:17

hobarrera: The kernel.org mirror works for me and others, but if you'd like then you can clone the repo from github and change the URL after using 'git remote set-url origin'

mrlouhibi: I don't get the same error. If you're using packer as AUR helper, see this https://github.com/keenerd/packer/pull/78

Tazmain: The full repo is 1.2 GB. The pacman developers have already said they won't implement shallow git clones in makepkg.

https://bugs.archlinux.org/task/34677
https://bugs.archlinux.org/task/23065
https://bugs.archlinux.org/task/35776

Tazmain commented on 2015-04-13 13:35

Seems like this is not doing a shallow copy of the git repo and a full clone making it around 2.6 gb download ?