Gentoo Archives: gentoo-user

From: "»Q«" <boxcars@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: The NVIDIA/Kernel fiasco -- is it safe to sync yet?
Date: Sat, 31 Aug 2013 01:41:30
Message-Id: 20130830204049.7068d60a@fuchsia.remarqs.net
In Reply to: [gentoo-user] Re: The NVIDIA/Kernel fiasco -- is it safe to sync yet? by "»Q«"
1 On Fri, 23 Aug 2013 23:12:39 -0500
2 »Q« <boxcars@×××.net> wrote:
3
4 > On Sat, 24 Aug 2013 00:15:40 +0200
5 > Paul Klos <gentoo@××××××××.nl> wrote:
6 >
7 > > Op vrijdag 23 augustus 2013 14:09:59 schreef Randy Westlund:
8 > > > On Fri, Aug 23, 2013 at 10:45:46AM -0700, Chris Stankevitz
9 > > > wrote:
10 > > > > Are "regular" nvidia users who run a completely stable system
11 > > > > (with only stable nvidia-drivers and stable gentoo-sources)
12 > > > > affected by any of this?
13 > > >
14 > > > I believe so. I run testing, but this just cleared up for me a
15 > > > few days ago when I went to kernel 3.10.7 (stable). I'm currently
16 > > > running kernel 3.10.9 and nvidia-drivers 325.15 (both testing),
17 > > > which works just fine. Try it and see what happens.
18 > >
19 > > Updated to gentoo-sources 3.10.7 (stable) today. I had (stable)
20 > > x11-drivers/nvidia-drivers-319.32 which failed rebuilding. After
21 > > keywording x11-drivers/nvidia-drivers I'm on 325.15 as well. Seems
22 > > to be fine so far.
23 >
24 > Same here, amd64
25 >
26 > It looks like maybe the best way to tell which ebuilds support which
27 > kernels is to read the conditional for the ewarn message in each
28 > ebuild.
29
30 This script works with the nvidia-drivers ebuilds currently in the
31 tree. If the format of the ewarn messages changes, it won't.
32
33 #!/bin/sh
34
35 # This quick-and-dirty script checks the available nvidia-drivers
36 # ebuilds to show you which are meant to build against which kernel
37 # versions.
38 # If you use grep without pcre support, you get to rewrite the grep line.
39
40 [ -f /etc/make.conf ] && . /etc/make.conf
41 [ -f /etc/portage/make.conf ] && . /etc/portage/make.conf
42 echo
43 for ebuildversion in $(ls "${PORTDIR}"/x11-drivers/nvidia-drivers/*.ebuild)
44 do
45 echo ${ebuildversion##*/} supports
46 grep -Po '<sys-kernel.*\d' "${ebuildversion}"
47 echo
48 done
49 exit