summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 5500f9766..fbafd4da0 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -943,6 +943,9 @@ sub devfssymlinkf {
$devfs_if ||= devices::to_devfs($o_if->{device});
$devfs_if ||= $o_if->{device};
+ #- when creating a symlink on the system, use devfs name if devfs is mounted
+ $if = $devfs_if if !$prefix && detect_devices::dev_is_devfs();
+
symlinkf($if, "$prefix/dev/$of");
output_p("$prefix/etc/devfs/conf.d/$of.conf",