View previous topic :: View next topic |
Author |
Message |
codemode n00b
Joined: 07 Mar 2003 Posts: 9 Location: Worms, Germany
|
Posted: Fri Mar 07, 2003 5:49 pm Post subject: patch for mixing stable/unstable |
|
|
The question when using gentoo with the default configuration, i.e. stable distribution, is how to install a few unstable packages and still run "emerge -u world".
I looked at the code and found a very quick solution:
diff from new "/usr/lib/python2.2/site-packages/portage.py" to old:
Code: |
3395,3398d3394
< # change Hamacher
< cpv=cpv_getkey(mycpv)
< if cpv in unstable_include:
< match=1
4530d4525
< unstable_include=settings["UNSTABLE_PKGS"].split()
|
That means insert the first block of code at line 3395 and the last line at the end of the file.
Now add for example
Code: |
UNSTABLE_PKGS="media-video/nvidia-kernel media-video/nvidia-glx"
|
in "/etc/make.conf", and emerge works always with the latest nvidia packages! |
|
Back to top |
|
|
codemode n00b
Joined: 07 Mar 2003 Posts: 9 Location: Worms, Germany
|
Posted: Fri Mar 07, 2003 6:29 pm Post subject: |
|
|
btw, that was for portage 2.0.47-r7
for 2.0.47-8 put the upper code in line 3411, right before
Code: | if match:
newlist.append(mycpv)
| in function gvisible. |
|
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
|
|