summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/NEWS3
-rwxr-xr-xtools/drakx-in-chroot6
2 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index b783c0143..5ff5595fc 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- drakx-in-chroot:
+ o pre-create /dev/null & co again (for draklive)
+
Version 16.44 - 23 October 2014
- drakx-in-chroot:
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index dbc319052..e7c0d23f8 100755
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -114,6 +114,8 @@ if ($disk_iso_repository) {
symlinkf('media' . $repository_arch, "$SLASH_LOCATION$IMAGE_LOCATION_ROOTED");
create_initial_symlinks();
+# for draklive:
+create_initial_devices();
apply_stage2_updates();
@@ -207,6 +209,10 @@ 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 $err;
clean_stage2_updates();