You are not logged in.

#26 2009-01-21 22:09:48

Aphanic
Member
From: Verín or Madrid (Spain)
Registered: 2008-12-31
Posts: 27

Re: kernel26 PKGBUILD: A simple patch for customization

Yes, it must have been the copy/paste from the forum, it aplies cleanly now. Tomorrow I'll test it and post results.

Offline

#27 2009-01-22 14:40:39

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: kernel26 PKGBUILD: A simple patch for customization

big_gie wrote:
R00KIE wrote:

The stuff about modules will still bug me though ....

What do you mean? That the modules be installed in /lib/modules/2.6.28-custom ?

Yes yes, didn't explain correctly .... the kernel modules yes, but fglrx and virtualbox modules for example, I need to recompile them and I'm not sure where they will end up, will figure it out when I give it a try smile
Don't worry, your idea sounds good and so far the feedback you got is good, I bet this will become a popular pkgbuild big_smile


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#28 2009-01-22 14:51:37

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: kernel26 PKGBUILD: A simple patch for customization

R00KIE wrote:

...fglrx and virtualbox modules for example, I need to recompile them and I'm not sure where they will end up

Haaa.. yes indeed. But then you are building a custom kernel, you'll always have to rebuild your modules.

Offline

#29 2009-01-22 14:58:07

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: kernel26 PKGBUILD: A simple patch for customization

Yes sure, what I don't now is if they will coexist with the versions for stock kernel, and if they can what and how to do it .... anyway, playing with custom kernels is not for the faint of heart big_smile, I'll figure it out, google, the wiki and the forum are my friends big_smile


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#30 2009-01-22 15:01:02

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: kernel26 PKGBUILD: A simple patch for customization

Yeah the point here is to have two kernels side by side. So you will need to recompile your modules in this new directory.

Take a look at "uname -r". It will give you your kernel name. So to get the directory you would type: /lib/modules/`uname -r` for example. Its probably just an argument to give to make and/or configure. Take a look at some modules in aur for other kernels...

Offline

#31 2009-01-22 20:28:24

Aphanic
Member
From: Verín or Madrid (Spain)
Registered: 2008-12-31
Posts: 27

Re: kernel26 PKGBUILD: A simple patch for customization

I've already compiled and used a custom kernel all day, no problem found by far.

Great job big_gie! It's perfect to test harder kernel configurations!

Offline

#32 2009-02-05 04:23:32

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: kernel26 PKGBUILD: A simple patch for customization

Aphanic wrote:

I've already compiled and used a custom kernel all day, no problem found by far.

Great news! smile

Offline

#33 2009-02-05 04:24:37

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: kernel26 PKGBUILD: A simple patch for customization

I bumped version to 2.6.28.2-1.
See http://bugs.archlinux.org/task/12384#comment38837

Offline

#34 2009-03-08 20:46:52

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: kernel26 PKGBUILD: A simple patch for customization

Great news all!

The modifications has been included in the official pkgbuild! A signoff request for a new kernel has been posted by tobias:

Tobias Powalowski wrote:

Hi guys, new kernel adresses the following things:
- changes for better customizing the default kernel included
http://bugs.archlinux.org/task/12384
--> firmware needed to be split off the package.
       It is now called kernel26-firmware
[...]

This is great news!  It means anybody will be able to compile a custom kernel easily! This kernel is actually in testing.

I just installed testing's kernel, I'll reboot in a couple of hours to verify it. I'll compile the stock -ARCH kernel, and a -custom one also. Please test add your test reports too!!!

Offline

Board footer

Powered by FluxBB