When using an initramfs, the default for poky-tiny, the kernel can't
automatically mount devtmpfs. Ensure it is mounted. This eliminates the
need to create the ptmx device.
(From meta-yocto rev:
b0ae9ca7078ec57fe21ccd8a14302a075ca07aa3)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mount none -t proc /proc
mount none -t sysfs /sys
+# Ensure devtmpfs is mounted, it must be done manually with initramfs
+mount none -t devtmpfs /dev
+
# Setup PTY infrastructure
-mknod /dev/ptmx c 5 2
mkdir /dev/pts
mount none -t devpts /dev/pts
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r1"
+PR = "r2"
RDEPENDS_${PN} = "busybox"