summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/drakx-in-chroot6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index d5c10a088..02cf53ce4 100755
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -89,8 +89,6 @@ mount($dir, "$SLASH_LOCATION$prefix_ROOTED", "-o bind");
$repository_uri ||= $repository_without_arch if !$remote_repository;
mount($repository_uri, "$SLASH_LOCATION$MEDIA_LOCATION_ROOTED", "-o bind") if $repository_uri;
-# for draklive:
-create_initial_devices();
mount('/dev', "$SLASH_LOCATION/dev", " --bind -o ro");
mount('none', "$SLASH_LOCATION/proc", "-t proc");
mount('none', "$SLASH_LOCATION/sys", "-t sysfs");
@@ -209,10 +207,6 @@ sub mount {
sys("$sudo mount $from $mntpt " . join(' ', @opts));
}
-sub create_initial_devices() {
- sys("$sudo cp -a /dev/{mem,null,random,urandom,tty} $SLASH_LOCATION/dev");
-}
-
sub umount_all {
my ($b_umount_dev_too) = @_;
my $err;