linux: disable UEVENT_HELPER*
Deprecated since 2006: http://lwn.net/Articles/166954/
commit9f87f3ccb0963e317594018016113ecea4686fe0
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>
dateFri 27 Feb 2015, 14:15 (12 years ago)
parent154d359
nixos/modules/services/hardware/udev.nix−2
@@ -236,8 +236,6 @@ in
236236
237237 system.activationScripts.udevd =
238238 ''
239− echo "" > /proc/sys/kernel/hotplug
240−
241239 # Regenerate the hardware database /var/lib/udev/hwdb.bin
242240 # whenever systemd changes.
243241 if [ ! -e /var/lib/udev/prev-systemd -o "$(readlink /var/lib/udev/prev-systemd)" != ${config.systemd.package} ]; then
pkgs/os-specific/linux/kernel/common-config.nix+3
@@ -263,6 +263,9 @@ with stdenv.lib;
263263 SLIP_COMPRESSED y # CSLIP compressed headers
264264 SLIP_SMART y
265265 THERMAL_HWMON y # Hardware monitoring support
266+ ${optionalString (versionAtLeast version "3.15") ''
267+ UEVENT_HELPER n
268+ ''}
266269 USB_DEBUG? n
267270 USB_EHCI_ROOT_HUB_TT y # Root Hub Transaction Translators
268271 USB_EHCI_TT_NEWSCHED y # Improved transaction translator scheduling