You are not logged in.
Pages: 1
Topic closed
I do apologize - but where the heck do I find the kernel source that's being used by archlinux??
I used to roll my own sources frequently, but ever since discovering arch - I'm more than happy to use the default ...
I keep a local mirror of the official one - but I'm darned if I can see any kernel sources there :-(
This time I do need to roll my own - a 'dell precision m90' does not cater for backlight (.../drivers/acpi/video.c), so I need the patched version.
Could anyone plueeze enlighten me? (and yes, I _have_ checked /usr/src/linux-3.4.4-3-ARCH/ - no source there ...)
Last edited by perbh (2012-07-18 13:43:04)
Offline
You can get the PKGBUILD and local source files from here. You can find other packages by following the "Packages" link at the top of the page.
Once you have those, just run "makepkg -o" to download and extract the upstream sources. You will then have everything (sources + patches).
You can use pbget to automatically retrieve PKGBUILDs for packages too.
edit:
If you mean the headers, then check the following packages:
linux-api-headers
linux-headers
Last edited by Xyne (2012-07-18 04:32:29)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Install and run abs.
The PKGBUILD and install files will be found at /var/abs/core/linux
Copy that directory to where you can work with it. When you run makepkg in that directory, it will grab the source from Kernel.org.
Edit: Drat, snaked by Xyne
Less than a minute too..
Last edited by ewaller (2012-07-18 04:31:46)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
thanks guys - appreciated!!
Offline
Once in a while I need the kernel source and always come back to this thread. So I'll update...
The abs package is now deprecated (https://www.archlinux.org/news/deprecation-of-abs/)
We can use aps instead. cd to some working directory, then aps export linux
Then cd linux and run makepkg to download the sources
Offline
Don't necrobump, especially with information that is documented on the wiki: https://wiki.archlinux.org/index.php/Co … bumping.22
Closing
Offline
Pages: 1
Topic closed