summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-03 11:21:59 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-03 11:21:59 +0000
commit10a18bbb3cafd8152a8da3fb93516943f86db07c (patch)
treee848a723c66c23b65522e6af05ae1ff0038371d6 /perl-install/install/install2.pm
parente6383c95c8910f98729642ee08f35ff4bc70c377 (diff)
downloaddrakx-10a18bbb3cafd8152a8da3fb93516943f86db07c.tar
drakx-10a18bbb3cafd8152a8da3fb93516943f86db07c.tar.gz
drakx-10a18bbb3cafd8152a8da3fb93516943f86db07c.tar.bz2
drakx-10a18bbb3cafd8152a8da3fb93516943f86db07c.tar.xz
drakx-10a18bbb3cafd8152a8da3fb93516943f86db07c.zip
mount /dev/{pts,shm} earlier, in stage1 rather than in stage2
(based on pok's idead @mdv but fixed)
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 0e12857aa..7bc492e57 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -304,10 +304,6 @@ sub start_udev() {
mkdir_p("/run/initramfs");
# Start up udev and trigger cold plugs
- mkdir("/dev/$_", 0755) foreach qw(pts shm);
- run_program::run("mount", "-t", "devpts", "-o", "gid=5,mode=620,noexec,nosuid", "devpts", "/dev/pts");
- run_program::run("mount", "-t", "tmpfs", "-o", "mode=1777,nosuid,nodev", "tmpfs", "/dev/shm");
-
mkdir_p("/run/udev/rules.d");
$ENV{UDEVRULESD} = "/run/udev/rules.d";
run_program::run("/usr/lib/systemd/systemd-udevd", "--daemon", "--resolve-names=never");