From d1e6f56d553e90598f2935b0bd8c48ef1824271e Mon Sep 17 00:00:00 2001 From: Jan Tatje Date: Mon, 22 Aug 2016 19:06:38 +0200 Subject: Fix mounting devtmpfs. (#54) mount was missing the path argument, this breaks booting with custom kernel and initramfs. --- core-services/00-pseudofs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core-services') diff --git a/core-services/00-pseudofs.sh b/core-services/00-pseudofs.sh index 7f23f13..6b20ad2 100644 --- a/core-services/00-pseudofs.sh +++ b/core-services/00-pseudofs.sh @@ -4,7 +4,7 @@ msg "Mounting pseudo-filesystems..." mountpoint -q /proc || mount -o nosuid,noexec,nodev -t proc proc /proc mountpoint -q /sys || mount -o nosuid,noexec,nodev -t sysfs sys /sys mountpoint -q /run || mount -o mode=0755,nosuid,nodev -t tmpfs run /run -mountpoint -q /dev || mount -o mode=0755,nosuid -t devtmpfs dev +mountpoint -q /dev || mount -o mode=0755,nosuid -t devtmpfs dev /dev mkdir -p -m0755 /run/runit /run/lvm /run/user /dev/pts /dev/shm mountpoint -q /dev/pts || mount -o mode=0620,gid=5,nosuid,noexec -n -t devpts devpts /dev/pts mountpoint -q /dev/shm || mount -o mode=1777,nosuid,nodev -n -t tmpfs shm /dev/shm -- cgit 1.4.1