View previous topic :: View next topic |
Author |
Message |
dkostic Apprentice
Joined: 24 May 2006 Posts: 220 Location: Madison, NJ
|
Posted: Thu Aug 03, 2006 9:54 pm Post subject: Any way to block the r* kernel upgrades from emerging? |
|
|
Hey everybody. I'm a bit lazy with upgrading kernels, and I really only want to do upgrades from, for example, version 2.6.16-r* to 2.6.17-r*. In other words, I don't want spend time to emerging and compiling 2.6.16-r1, 2.6.16-r2, etc. Is there a line I can add to /etc/portage/package.mask that will allow me to only install 2.6.**-r1 kernels? _________________ Toshiba Satellite A105 laptop, 1.7 mHz Celeron M, 100 Gb hard disk, 512 Mb RAM, 2006.0, 2.6.16-r7 kernel
Homemade desktop, 3.2+ mHz AMD Athlon 64 processor, 120 Gb hard disk, 1 Gb RAM, 2005.0, 2.6.14-r2 kernel |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Fri Aug 04, 2006 3:26 am Post subject: |
|
|
Code: | echo '=sys-kernel/gentoo-sources-2.6.1*-*' >> /etc/portage/package.mask |
That'll block all kernel updates unless theres a new release in the 2.6.* area. |
|
Back to top |
|
|
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Fri Aug 04, 2006 5:34 am Post subject: |
|
|
Couldn't you just wait till the new kernel releases come out and not upgrade until? I don't see a point in doing it manually. _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
|
razze Apprentice
Joined: 09 Mar 2005 Posts: 161 Location: Espoo, Finland
|
Posted: Fri Aug 04, 2006 6:04 am Post subject: |
|
|
Hello!
I have solved this by not having the kernel in the world file Code: | # emerge --oneshot gentoo-sources-version | and then putting a line in /etc/portage/package.provided to tell portage that there is a kernel available in the system.
Code: | $ cat /etc/portage/package.provided
=sys-kernel/gentoo-sources-2.6.16.4 |
_________________ --------------------------
Linux User #393524
AMD Athlon 64 X2 3800+ @2,3 GHz, Asus A8V, VIA K8T800PRO, Nvidia GeForce 7600GS, 2 Gb Dual Channel DDR RAM, 2x Samsung SP120 200Gb, 2x WD 320Gb, Plextor PX-716A, linux-2.6.31-gentoo-r10 |
|
Back to top |
|
|
|
|
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
|
|