From 1ffbd35135fc130de33384ba120008ff03e6daee Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Thu, 9 Sep 2010 08:11:23 +0000 Subject: install static device symlinks under /lib/udev/devices --- perl-install/NEWS | 2 ++ perl-install/devices.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 865a00399..7f7e9cb6c 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- install static device symlinks under /lib/udev/devices (Andrey Borzenkov) + Version 13.35 - 22 June 2010 - add scrollbar to partitionning wizard if needed diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 719472cea..304d1dc46 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -237,9 +237,9 @@ sub symlink_now_and_register { my ($if_struct, $of) = @_; my $if = $if_struct->{device}; - #- add a specific udev script, we can't do it with a udev rule, + #- add a static udev device node, we can't do it with a udev rule, #- eg, ttySL0 is a symlink created by a daemon - output_with_perm("$::prefix/etc/udev/devices.d/$of.nodes", 0644, "L $of $if\n"); + symlinkf($if, "$::prefix/lib/udev/devices/$of"); symlinkf($if, "$::prefix/dev/$of"); } -- cgit v1.2.1