diff options
-rw-r--r-- | installer/OpenSLX/OSSetup/Distro/Base.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Base.pm b/installer/OpenSLX/OSSetup/Distro/Base.pm index 5ad6f3b6..802779a7 100644 --- a/installer/OpenSLX/OSSetup/Distro/Base.pm +++ b/installer/OpenSLX/OSSetup/Distro/Base.pm @@ -143,9 +143,9 @@ sub startSession } foreach my $dev (keys %devInfo) { my $info = $devInfo{$dev}; - if (!-e "/dev/$dev") { + if (!-e "$osDir//dev/$dev") { if (slxsystem( - "mknod /dev/$dev $info->{type} $info->{major} $info->{minor}" + "mknod $osDir//dev/$dev $info->{type} $info->{major} $info->{minor}" )) { croak(_tr("unable to create dev-node '%s'! (%s)", $dev, $!)); } |