You are not logged in.
The thought is: to build my own kernel for Arch but do not set all the settings manually; get all the settings just as Arch developers do and just edit some of them and then build. Maybe a couple of changes.
Is there any possibility to do this?
Last edited by Mr. Alex (2010-09-11 15:53:01)
Offline
Hi
You can retreive the config file for the running kernel in /proc/config.gz
Offline
Wow... Thousands of options I believe... Can I paste 'em automatically when building kernel?
Offline
Yes, by using
zcat /proc/config.gz > /path/to/your/config/in/sources
make oldconfig
in your PKGBUILD. See other customized kernels for the details.
Have fun.
Offline
I always like to use 'make oldconfig' to bring the original config file up to date and then use another option (make menuconfig, xconfig, nconfig, etc) to do further editing.
Also, make sure you're installing your custom kernel the 'Arch' way, http://wiki.archlinux.org/index.php/Ker … 26_Package
Last edited by codycarey (2010-09-11 17:02:39)
Offline
The thought is: to build my own kernel for Arch but do not set all the settings manually; get all the settings just as Arch developers do and just edit some of them and then build. Maybe a couple of changes.
Is there any possibility to do this?
Sure. Just get the latest PKGBUILD from ABS and add in 'make menuconfig' in the appropriate spot, makepkg, and pacman install it.
Offline
if you have yaourt installed, it can even retrieve the pkgbuild, patches etc for you :-) just create a directory & run yaourt -G kernel26 in it.
Offline
PKGBUILD? ARCH kernel? Why not use the one from http://kernel.org/ ?
Offline
Uhmm... yes, you have to get the sources from kernel.org. People are suggesting you use a PKGBUILD so you can create an Arch package for your custom kernel.
Full details in the wiki, already linked above.
Offline