Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge exact kernel sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pigreco
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 223
Location: Italia

PostPosted: Thu Apr 17, 2014 9:39 am    Post subject: emerge exact kernel sources Reply with quote

Hi,I have this situation after a an update word and a
Code:
emerge --deepclean


Code:
eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.13.2-hardened-r3


Code:
linux # ls -lah /usr/src/
totale 20K
drwxr-xr-x  5 root root 4,0K 21 mar 16.19 .
drwxr-xr-x 13 root root 4,0K 30 ott  2012 ..
-rw-r--r--  1 root root    0  3 gen  2012 .keep
lrwxrwxrwx  1 root root   20 10 gen  2012 linux -> linux-3.1.5-hardened
drwxr-xr-x  5 root root 4,0K 21 mar 16.20 linux-3.1.5-hardened
drwxr-xr-x 24 root root 4,0K 21 mar 13.09 linux-3.13.2-hardened-r3
drwxr-xr-x  2 root root 4,0K 24 mar 17.01 snort_dynamicsrc


Code:
ls /usr/src/linux/
include  scripts  tools


I don't want change kernel version, can I install exact kernel sources linux-3.1.5-hardened?

regards,
Maurizio
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Thu Apr 17, 2014 10:05 am    Post subject: Re: emerge exact kernel sources Reply with quote

pigreco wrote:
Code:
emerge --deepclean

This option does not exist, do you mean --depclean? If you want to stay with old versions, always use the -a switch to ask before removal!

pigreco wrote:
I don't want change kernel version, can I install exact kernel sources linux-3.1.5-hardened?

You could try sys-kernel/hardened-sources/hardened-sources-3.1.5.ebuild and put it in a local overlay. Perhaps it works.

But why do you want to stay with such an old and unsupported kernel? Why not switch to at least the next long-term kernel (3.2)?
Back to top
View user's profile Send private message
pigreco
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 223
Location: Italia

PostPosted: Thu Apr 17, 2014 10:10 am    Post subject: Reply with quote

thank's for info, is a production machine and a kernel change is always dangerous
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Thu Apr 17, 2014 10:21 am    Post subject: Reply with quote

Thats what the long term kernels are for. Keep one major kernel version but still get bug fixes.

Running a hardened but completely outdated kernel is somewhat contradictorily ;)

Btw, you may mask everything above your kernel version, to prevent updates of the kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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