diff options
-rw-r--r-- | perl-install/install/NEWS | 3 | ||||
-rwxr-xr-x | tools/drakx-in-chroot | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index dd839bdb2..da3b76a73 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- drakx-in-chroot: + o pre-create /dev/null & co before mounting devtmpfs + Version 16.48 - 16 December 2014 - Mageia 5 artwork integration (with beta2 mention on left-background) diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index e7c0d23f8..312c5abfd 100755 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -89,6 +89,8 @@ 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"); @@ -114,8 +116,6 @@ if ($disk_iso_repository) { symlinkf('media' . $repository_arch, "$SLASH_LOCATION$IMAGE_LOCATION_ROOTED"); create_initial_symlinks(); -# for draklive: -create_initial_devices(); apply_stage2_updates(); |