You are not logged in.

#1 2010-07-14 01:51:57

olo
Member
Registered: 2010-03-18
Posts: 32

customized kernel and Kernel from repo

I compiled a customized kernel as the original ones is too big, it contents many modules. after compiling kernel, I added
IgnorePkg = kernel26.

but if I want to update packages I found some packages need upper version kernel, and the system doesn't detect compiled kernel version automatically.
if this problem can be solved ?

Many Thanks

Offline

#2 2010-07-14 01:58:36

Coacher
Guest

Re: customized kernel and Kernel from repo

There is no problem at all. You can have both compiled yourself kernel and from the repo at the same time installed. But if you are afraid of lost of bits of free space add "provides" section to your PKGBUILD and add apropriate version there. Something like this

provides=('kernel26=2.6.34')

Last edited by Coacher (2010-07-14 02:00:07)

#3 2010-07-14 02:04:14

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: customized kernel and Kernel from repo

Need more information.

What process did you follow to compile your custom kernel?
Did you modify the kernel26 PKGBUILD and use makepkg? If so could you post it?

Offline

#4 2010-07-14 02:19:25

olo
Member
Registered: 2010-03-18
Posts: 32

Re: customized kernel and Kernel from repo

Thanks Coacher,
To tjwoosta, NO I compiled it manually without PKGBUILD, used "make" command

Offline

#5 2010-07-14 02:23:08

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: customized kernel and Kernel from repo

olo wrote:

Thanks Coacher,
To tjwoosta, NO I compiled it manually without PKGBUILD, used "make" command

Better not to do that. That kernel is outside pacman's 'control' and thus cannot provide any dependencies or automatically clean up after itself when there's a minor/major upgrade.

If you insist on handling things outside the package management system, then you should either create a dummy empty package named kernel26 or compile all the packages which depend on kernel26 yourself. Shouldn't be too many, most likely just your video driver and any other kernel modules you might need.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2010-07-14 02:31:12

olo
Member
Registered: 2010-03-18
Posts: 32

Re: customized kernel and Kernel from repo

I see thanks you ngoone, I can understand now.
so it is better to use PKGBUILD

Offline

#7 2010-07-14 03:05:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: customized kernel and Kernel from repo

I would not install anything to my system without using a PKGBUILD.   There is a good guide on the wiki on how to create custom kernel PKGBUILDs.

Offline

#8 2010-07-14 03:12:21

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: customized kernel and Kernel from repo

Allan wrote:

I would not install anything to my system without using a PKGBUILD.   There is a good guide on the wiki on how to create custom kernel PKGBUILDs.

No doubt. pacman is one of the best package managers there is and one of the easiest to develop custom packages for.

Offline

Board footer

Powered by FluxBB