summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 7d94bc826..5bb72c94b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -944,7 +944,11 @@ sub report_bug {
sub devfssymlinkf {
my ($o_if, $of, $prefix) = @_;
- my $if = $o_if->{devfs_device} || $o_if->{device};
+
+ my $if = $o_if->{devfs_device};
+ $if ||= devices::to_devfs($o_if->{device});
+ $if ||= $o_if->{device};
+
symlinkf($if, "$prefix/dev/$of");
output_p("$prefix/etc/devfs/conf.d/$of.conf",