tiny-init: Mount devtmpfs manually
PATCH 1/1 tiny-init: Mount devtmpfs manually
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.
Signed-off-by Darren Hart <[email protected]>
--- meta-yocto/recipes-core/tiny-init/files/init | 4 +++- meta-yocto/recipes-core/tiny-init/tiny-init.bb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-)
meta-yocto/recipes-core/tiny-init/files/init +3 -1
@@ -4,8 +4,10 @@ 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
meta-yocto/recipes-core/tiny-init/tiny-init.bb +1 -1
@@ -3,7 +3,7 @@ DESCRIPTION = "Basic init system for poky-tiny" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -PR = "r1" +PR = "r2" RDEPENDS_${PN} = "busybox"
Signature · 1 line
1.8.1.2