summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorAndrey Borzenkov <arvidjaar@mandriva.org>2010-09-09 08:11:23 +0000
committerAndrey Borzenkov <arvidjaar@mandriva.org>2010-09-09 08:11:23 +0000
commit1ffbd35135fc130de33384ba120008ff03e6daee (patch)
tree42dde1fc1d7c6214e1e9039cd1dae1eb236cbf89 /perl-install
parent1f4edb2b78b9a726370fe5793195553f074ba294 (diff)
downloaddrakx-1ffbd35135fc130de33384ba120008ff03e6daee.tar
drakx-1ffbd35135fc130de33384ba120008ff03e6daee.tar.gz
drakx-1ffbd35135fc130de33384ba120008ff03e6daee.tar.bz2
drakx-1ffbd35135fc130de33384ba120008ff03e6daee.tar.xz
drakx-1ffbd35135fc130de33384ba120008ff03e6daee.zip
install static device symlinks under /lib/udev/devices
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/devices.pm4
2 files changed, 4 insertions, 2 deletions
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");
}