On 25/02/14 13:03, Joshua Kinard wrote:
> On 02/25/2014 5:27 AM, Steev Klimaszewski wrote:
>> On Tue, 2014-02-25 at 10:43 +0200, Samuli Suominen wrote:
>>> Here is a bit better worded news item for the upgrade. I think I've
>>> taken into account any concerns, but please check
>>> the grammar part. Thanks!
>>>
>>> - Samuli
>> CONFIG_DMIID isn't available for ARM. Can we make that warning go away
>> if on ARM, so users don't pull their hair out?
>>
> This might be an x86 and ia64-specific CONFIG_* item:
>
> Symbol: DMIID [=y]
> Type  : boolean
> Prompt: Export DMI identification via sysfs to userspace
>   Location:
>     -> Firmware Drivers
>   Defined at drivers/firmware/Kconfig:91
>   Depends on: DMI [=y]
>
> Symbol: DMI [=y]
> Type  : boolean
> Prompt: Enable DMI scanning
>   Location:
>     -> Processor type and features
>   Defined at arch/x86/Kconfig:748
>              ^^^^^^^^^^^^^^^^
>
> # grep -rIn "config DMI" *
> arch/ia64/Kconfig:104:config DMI
> arch/x86/Kconfig:748:config DMI
> drivers/firmware/Kconfig:91:config DMIID
> drivers/firmware/Kconfig:100:config DMI_SYSFS
>
> So all non-x86/ia64 systems (amd64/x86_64, too??) probably need to ignore
> this CONFIG_* item.
>

After more close look, the feature looks more optional than at first
sight. I've dropped the entire
check from ebuild and leaned the text in the news announcement.

This should do it...
Title: Upgrade to >=sys-fs/udev-210
Author: Samuli Suominen <ssuomi...@gentoo.org>
Content-Type: text/plain
Posted: 2014-02-25
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: <sys-fs/udev-210

The options CONFIG_FHANDLE and CONFIG_NET are now required in the kernel.
You will be warned of them if they are missing while you upgrade to
>=sys-fs/udev-210 by the package manager.
See the package's README at /usr/share/doc/udev-210/ for more optional
kernel options.

The most reliable way of disabling the new network interface scheme is still
the kernel parameter "net.ifnames=0" since overriding the
80-net-name-slot.rules in /etc/udev/rules.d/ no longer works since upstream
renamed the file to /lib/udev/rules.d/80-net-setup-link.rules
The actual configuration is at /lib/systemd/network/99-default.link, which
you can override in /etc/systemd/network/
So, to clarify, you can override the new .rules file or the .link file in /etc
but using the kernel parameter is the most consistent way.

Since both the systemd-udevd executable and the network configuration is stored
at /lib/systemd, using a too wide INSTALL_MASK would be a mistake.

[1] https://wiki.gentoo.org/wiki/Udev/upgrade#udev_208_to_210
[2] 
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames

Reply via email to