summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-10 06:58:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-10 06:58:35 +0000
commit6245035b3104b41bb57a1326006cc3eb71b741a7 (patch)
tree95bc95254e0775d322cf4045db1e9fec91968f20 /perl-install
parentb61e311a78ee2eccb1ff7b0d08000a38b8b9f2d8 (diff)
downloaddrakx-backup-do-not-use-6245035b3104b41bb57a1326006cc3eb71b741a7.tar
drakx-backup-do-not-use-6245035b3104b41bb57a1326006cc3eb71b741a7.tar.gz
drakx-backup-do-not-use-6245035b3104b41bb57a1326006cc3eb71b741a7.tar.bz2
drakx-backup-do-not-use-6245035b3104b41bb57a1326006cc3eb71b741a7.tar.xz
drakx-backup-do-not-use-6245035b3104b41bb57a1326006cc3eb71b741a7.zip
- our udev rules must come before standard mandriva rules to be able to shadow them
- special mouse rule *is* needed for serial mouse
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 25ca7b190..303f112f0 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -916,7 +916,8 @@ UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $of
UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $if
") if $devfs_if ne $if && $if !~ /^hd[a-z]/ && $if !~ /^sr/ && $if !~ /^sd[a-z]/;
- output_p("$::prefix/etc/udev/rules.d/$of.rules", qq(KERNEL="$if", SYMLINK="$of"\n)) if $of !~ /mouse|dvd/;
+ output_p("$::prefix/etc/udev/rules.d/20-$of.rules", qq(KERNEL="$if", SYMLINK="$of"\n))
+ if $of !~ /mouse|dvd/ || $if =~ /^tty/;
#- when creating a symlink on the system, use devfs name if devfs is mounted
symlinkf($devfs_if, "$::prefix/dev/$if") if $devfs_if ne $if && detect_devices::dev_is_devfs();