You are not logged in.

#1 2009-02-10 19:38:44

loudtiger
Member
Registered: 2009-01-08
Posts: 68

Custom Kernel with ABS overwrite old kernel?

If I don't change the name and use the Arch kernel as a starting point, will it overwrite the old kernel when i run pacman -U? i only need to change one item in menuconfig.

Thanks,

Offline

#2 2009-02-10 19:45:41

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: Custom Kernel with ABS overwrite old kernel?

Yes it will, you should up the pkgrel to differentiate them

Offline

#3 2009-02-10 20:29:53

loudtiger
Member
Registered: 2009-01-08
Posts: 68

Re: Custom Kernel with ABS overwrite old kernel?

okay, perfect.

thanks!

Offline

#4 2009-02-10 20:42:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Custom Kernel with ABS overwrite old kernel?

Changing pkgrel is not sufficient IMO, because you could end up with, for example, kernel26-2.6.28.4-2, and we could then release 2.6.28.4-3, which would overwrite your changes. You can workaround this by making pacman ignore kernel26 during upgrades, but the better solution is to change the name of the package e.g. kernel26-tiger etc. See any of the AUR kernel26-* packages for inspiration.

Offline

Board footer

Powered by FluxBB