Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Should I mask sys-kernel/linux-headers to stop it updating?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Odin_SE
n00b
n00b


Joined: 27 Oct 2006
Posts: 14

PostPosted: Thu Oct 18, 2007 4:06 pm    Post subject: Should I mask sys-kernel/linux-headers to stop it updating? Reply with quote

Hi,

This may be the wrong forum to post to but it's not really a portage question because I know the mechanics of how to mask, I just want to know if I should or shouldn't.

The issue.

I'm running 2.6.20-hardened-r10 and I do a pretend world update:

Code:
emerge -pv --update --deep --newuse world


It shows me that the linux-headers would be updated. Is it really a good idea to update the headers, which would result in other packages building against headers that my kernel is not built against? I did try masking headers totally but that didn't work so well as they're a dep for other packages. Before I go digging up the docs and trying to mask any updates higher than what I've got, I thought I'd ask if I should even bother :)

tia...

Odin
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Thu Oct 18, 2007 4:19 pm    Post subject: Reply with quote

Yes. You should update the kernel headers.

Sometimes it is nessecary to update other packages, too.
Back to top
View user's profile Send private message
Odin_SE
n00b
n00b


Joined: 27 Oct 2006
Posts: 14

PostPosted: Thu Oct 18, 2007 4:26 pm    Post subject: Reply with quote

Thanks for your reply.

I'm running hardened. Are hardened and non-hardened headers different and if so, will the update not overwrite my hardened headers?

//Odin
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Thu Oct 18, 2007 6:31 pm    Post subject: Reply with quote

Usually, hardened headers won´t be overwritten by "normal" headers.

Differences can be found by fetching the sources and "diff <files>".
Back to top
View user's profile Send private message
Odin_SE
n00b
n00b


Joined: 27 Oct 2006
Posts: 14

PostPosted: Thu Oct 18, 2007 6:38 pm    Post subject: Reply with quote

Thanks. If normal are aware of hardened then I'm happy.

Time to take away the -pv and see what smokes.

Odin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum