You are not logged in.

#1 2008-10-13 16:25:40

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

[Solved] Compile Custom Kernel with Kernel26 Package [Question]

I am wondering, if I could just swap the info, but keep the PKGBUILD for kernel26 and make it into kernel27. Would this be possible?

Last edited by haxit (2008-10-13 18:39:07)


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#2 2008-10-13 16:48:38

Xappe
Member
Registered: 2008-05-17
Posts: 105

Re: [Solved] Compile Custom Kernel with Kernel26 Package [Question]

you could do that I suppose, but you probably have to edit the PKGBUILD a bit to handle patches which may not be valid for 2.6.27.

Since 2.6.27 is in testing I guess you could get the PKGBUILD from there and edit that one instead...

Be careful with the naming so that you don't render your system unbootable by overwriting the default kernel26 package (always good to have a backup kernel in case you screw something with the new one). Check the wiki for more info on kernel compilation using ABS...


vanum est vobis ante lucem surgere

Offline

#3 2008-10-13 17:04:26

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: [Solved] Compile Custom Kernel with Kernel26 Package [Question]

Xappe wrote:

you could do that I suppose, but you probably have to edit the PKGBUILD a bit to handle patches which may not be valid for 2.6.27.

Since 2.6.27 is in testing I guess you could get the PKGBUILD from there and edit that one instead...

Be careful with the naming so that you don't render your system unbootable by overwriting the default kernel26 package (always good to have a backup kernel in case you screw something with the new one). Check the wiki for more info on kernel compilation using ABS...

Thanks, I didn't know it was in testing. I will check that out for sure.

Edit: I cannot find it in testing ;(

Last edited by haxit (2008-10-13 17:06:27)


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#4 2008-10-13 17:11:01

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: [Solved] Compile Custom Kernel with Kernel26 Package [Question]


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#5 2008-10-13 17:11:46

Xappe
Member
Registered: 2008-05-17
Posts: 105

Re: [Solved] Compile Custom Kernel with Kernel26 Package [Question]

<edit> too slow </edit> smile

Last edited by Xappe (2008-10-13 17:12:19)


vanum est vobis ante lucem surgere

Offline

#6 2008-10-13 17:33:05

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: [Solved] Compile Custom Kernel with Kernel26 Package [Question]

Thanks


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#7 2008-10-13 17:46:22

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: [Solved] Compile Custom Kernel with Kernel26 Package [Question]

Is there an easier way to edit my kernel config, other than manully in the text file provided with teh package?


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#8 2008-10-13 17:54:02

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: [Solved] Compile Custom Kernel with Kernel26 Package [Question]

haxit wrote:

Is there an easier way to edit my kernel config, other than manully in the text file provided with teh package?

Run the following command in the directory with the PKGBUILD file for kernel26 package:

sed -i 's/# load configuration/\n  # configure kernel before build\n  make menuconfig\n\n  # load configuration/g' PKGBUILD

That way makepkg will run "make menuconfig" before building the kernel and you'll be able to change the configuration as you see fit.

Offline

#9 2008-10-13 18:36:43

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: [Solved] Compile Custom Kernel with Kernel26 Package [Question]

Alright, thanks a lot fwjciec, you always have to answers big_smile


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

Board footer

Powered by FluxBB