summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Distro/Base.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-08-28 12:50:31 +0200
committerOliver Tappe2008-08-28 12:50:31 +0200
commit38c01bb33ec9ae5248c8dbcb12d21bad0fd061f1 (patch)
tree6555ec4a9ba43f862a30da33912c1e58154245a9 /installer/OpenSLX/OSSetup/Distro/Base.pm
parent* added a couple more required devices to be available in vendor-OS chroot (diff)
downloadcore-38c01bb33ec9ae5248c8dbcb12d21bad0fd061f1.tar.gz
core-38c01bb33ec9ae5248c8dbcb12d21bad0fd061f1.tar.xz
core-38c01bb33ec9ae5248c8dbcb12d21bad0fd061f1.zip
* fixed problem in 2114, such that the devices are in fact created inside
the vendor-OS and not in the host-OS (oops!) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2115 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Distro/Base.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Base.pm4
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, $!));
}