Gentoo Archives: gentoo-dev

From: Arun Raghavan <ford_prefect@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About udev-145: new features / extras and kernel requirements
Date: Sun, 30 Aug 2009 09:16:11
Message-Id: 6f8b45100908300724h206273b0i9f36cbdf8ef9d271@mail.gmail.com
In Reply to: [gentoo-dev] About udev-145: new features / extras and kernel requirements by Matthias Schwarzott
1 2009/8/30 Matthias Schwarzott <zzam@g.o>:
2 > Hi there!
3 >
4 > The new udev-145 and newer have some new kernel requirements. How should the
5 > ebuild verify they are met?
6 > Some possible ways:
7 > 1. Check config under /usr/src/linux
8 > 2. Check /proc/config.gz
9 > 3. Print message for user in pkg_postinst
10
11 All of the above? Rationale being (1) is required to check against the
12 kernel you're supposedly using, (2) for the kernel you definitely are
13 using, and (3) to make sure people remember.
14
15 An alternative to (2) and (3), though is to add a check to the udev initscript.
16
17 Cheers,
18 --
19 Arun Raghavan
20 http://arunraghavan.net/
21 (Ford_Prefect | Gentoo) & (arunsr | GNOME)

Replies