summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-03-05 21:42:38 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-03-05 21:42:51 +0100
commit1a8f5462657b8ed7d392fec4af38ed8035fd3182 (patch)
tree3ca5305f548bcb608c5876c69ef23e5df6e04577
parent8e0356cbefac53f4b95e02563d16ced41aeeba7b (diff)
downloaddrakx-1a8f5462657b8ed7d392fec4af38ed8035fd3182.tar
drakx-1a8f5462657b8ed7d392fec4af38ed8035fd3182.tar.gz
drakx-1a8f5462657b8ed7d392fec4af38ed8035fd3182.tar.bz2
drakx-1a8f5462657b8ed7d392fec4af38ed8035fd3182.tar.xz
drakx-1a8f5462657b8ed7d392fec4af38ed8035fd3182.zip
(create_initial_devices) kill it
(no more needed for draklive)
-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;