You are not logged in.

#1 2007-10-26 12:34:28

Bola
Member
From: Italia
Registered: 2007-02-16
Posts: 118

Adding patch to kernel

Hi, someone can explane me how to add patch to kernel for a my own personal kernel?

Thanks a lot,
Riccardo big_smile

Offline

#2 2007-10-26 12:47:47

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Adding patch to kernel

If you look at this thread there is a nice script that you could use to rename your kernel and build it with all the arch patches. You would need to modify your PKGBUILD to include the patch that you want to add.

http://bbs.archlinux.org/viewtopic.php?id=34815


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#3 2007-10-26 13:08:03

Bola
Member
From: Italia
Registered: 2007-02-16
Posts: 118

Re: Adding patch to kernel

kishd wrote:

If you look at this thread there is a nice script that you could use to rename your kernel and build it with all the arch patches. You would need to modify your PKGBUILD to include the patch that you want to add.

http://bbs.archlinux.org/viewtopic.php?id=34815

Yes but for example if i want to delete asus-blabla patch for asus acpi how can i do it? If i delete the asus-acpi patch then i have to modify something in kernel configc with gconf o menuconf?? hmm

Offline

#4 2007-10-26 13:25:42

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Adding patch to kernel

Bola, check out the arch wiki on building the kernel with ABS. If you use abs and edit the PKGBUILD for the kernel removing any patches that you do not want applied there is nothing else to be done except building the kernel using makepkg.


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#5 2007-10-26 14:44:47

Bola
Member
From: Italia
Registered: 2007-02-16
Posts: 118

Re: Adding patch to kernel

Edit: k i'm compiling my kernel but i see some warning like this:

arch/i386/kernel/apm.c: In function 'suspend':
arch/i386/kernel/apm.c:1192: warning: 'pm_send_all' is deprecated (declared at include/linux/pm_legacy.h:20)
arch/i386/kernel/apm.c:1227: warning: 'pm_send_all' is deprecated (declared at include/linux/pm_legacy.h:20)
arch/i386/kernel/apm.c: In function 'check_events':
arch/i386/kernel/apm.c:1340: warning: 'pm_send_all' is deprecated (declared at include/linux/pm_legacy.h:20)

it's a problem? neutral

Last edited by Bola (2007-10-26 16:10:28)

Offline

Board footer

Powered by FluxBB