diff options
Diffstat (limited to 'external/poky/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb')
-rw-r--r-- | external/poky/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/external/poky/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb b/external/poky/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb index 7ae7969f..29ec5ec2 100644 --- a/external/poky/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb +++ b/external/poky/meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb @@ -9,8 +9,13 @@ S = "${WORKDIR}" do_install() { install -m 0755 ${WORKDIR}/init-boot.sh ${D}/init + + # Create device nodes expected by some kernels in initramfs + # before even executing /init. + install -d ${D}/dev + mknod -m 622 ${D}/dev/console c 5 1 } inherit allarch -FILES_${PN} += " /init " +FILES_${PN} += "/init /dev/console" |