summaryrefslogtreecommitdiff
path: root/recipes-core/initrdscripts/initramfs-readonly-rootfs-overlay_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/initrdscripts/initramfs-readonly-rootfs-overlay_1.0.bb')
-rw-r--r--recipes-core/initrdscripts/initramfs-readonly-rootfs-overlay_1.0.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-core/initrdscripts/initramfs-readonly-rootfs-overlay_1.0.bb b/recipes-core/initrdscripts/initramfs-readonly-rootfs-overlay_1.0.bb
new file mode 100644
index 0000000..164d394
--- /dev/null
+++ b/recipes-core/initrdscripts/initramfs-readonly-rootfs-overlay_1.0.bb
@@ -0,0 +1,8 @@
+require readonly-rootfs-overlay-init-script.inc
+
+do_install_append() {
+ install -d ${D}/dev
+ mknod -m 622 ${D}/dev/console c 5 1
+}
+
+FILES_${PN} += "/dev"