diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb index b54cb619f1..57b30254a6 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb | |||
@@ -11,9 +11,11 @@ S = "${WORKDIR}" | |||
11 | 11 | ||
12 | do_install() { | 12 | do_install() { |
13 | install -m 0755 ${WORKDIR}/init-live.sh ${D}/init | 13 | install -m 0755 ${WORKDIR}/init-live.sh ${D}/init |
14 | install -d ${D}/dev | ||
15 | mknod -m 622 ${D}/dev/console c 5 1 | ||
14 | } | 16 | } |
15 | 17 | ||
16 | FILES_${PN} += " /init " | 18 | FILES_${PN} += " /init /dev " |
17 | 19 | ||
18 | # Due to kernel dependency | 20 | # Due to kernel dependency |
19 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 21 | PACKAGE_ARCH = "${MACHINE_ARCH}" |