View previous topic :: View next topic |
Author |
Message |
pigreco Apprentice
Joined: 16 Nov 2005 Posts: 223 Location: Italia
|
Posted: Thu Apr 17, 2014 9:39 am Post subject: emerge exact kernel sources |
|
|
Hi,I have this situation after a an update word and a
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 |
|
|
lagalopex Guru
Joined: 16 Oct 2004 Posts: 562
|
Posted: Thu Apr 17, 2014 10:05 am Post subject: Re: emerge exact kernel sources |
|
|
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 |
|
|
pigreco Apprentice
Joined: 16 Nov 2005 Posts: 223 Location: Italia
|
Posted: Thu Apr 17, 2014 10:10 am Post subject: |
|
|
thank's for info, is a production machine and a kernel change is always dangerous |
|
Back to top |
|
|
lagalopex Guru
Joined: 16 Oct 2004 Posts: 562
|
Posted: Thu Apr 17, 2014 10:21 am Post subject: |
|
|
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 |
|
|
|