diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-12-20 05:56:42 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-12-20 16:54:17 +0100 |
commit | 32ca88d8bb188660c34c241ce747c690746c1321 (patch) | |
tree | 89c5a7b077e56bd62b14c251e07650242909dd7f | |
parent | d44f1c4cf81df2a1e080f69aa1de9e9b2a847d60 (diff) | |
download | drakx-32ca88d8bb188660c34c241ce747c690746c1321.tar drakx-32ca88d8bb188660c34c241ce747c690746c1321.tar.gz drakx-32ca88d8bb188660c34c241ce747c690746c1321.tar.bz2 drakx-32ca88d8bb188660c34c241ce747c690746c1321.tar.xz drakx-32ca88d8bb188660c34c241ce747c690746c1321.zip |
pre-create /dev/null & co before mounting devtmpfs
-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(); |