summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-08-24 08:52:40 -0500
committerJohn Klug <john.klug@multitech.com>2020-08-24 08:52:40 -0500
commitbc6fc897ca4f91d361cfb742244d5224109d7b93 (patch)
tree3b880f8e19447621948e0cb49e36fadc47bb73f2 /recipes-core
parentcd0f89c1036a8ae33dce8fd976781a1e9daaa585 (diff)
downloadmeta-mlinux-bc6fc897ca4f91d361cfb742244d5224109d7b93.tar.gz
meta-mlinux-bc6fc897ca4f91d361cfb742244d5224109d7b93.tar.bz2
meta-mlinux-bc6fc897ca4f91d361cfb742244d5224109d7b93.zip
Overlay is now used by MTR7 as well as MTCDT3
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/images/core-image-rorootfs-overlay-initramfs.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-core/images/core-image-rorootfs-overlay-initramfs.bb b/recipes-core/images/core-image-rorootfs-overlay-initramfs.bb
new file mode 100644
index 0000000..47946c5
--- /dev/null
+++ b/recipes-core/images/core-image-rorootfs-overlay-initramfs.bb
@@ -0,0 +1,23 @@
+# Simple initramfs image. Mostly used for live images.
+# Derived from https://github.com/cmhe/meta-readonly-rootfs-overlay
+DESCRIPTION = "Small image capable of booting a device. The kernel includes \
+the Minimal RAM-based Initial Root Filesystem (initramfs), mounts the root fs \
+read only and uses a file system overlay for written data."
+
+PACKAGE_INSTALL = "initramfs-readonly-rootfs-overlay ${VIRTUAL-RUNTIME_base-utils} udev base-passwd gptfdisk ${ROOTFS_BOOTSTRAP_INSTALL}"
+
+# Do not pollute the initrd image with rootfs features
+IMAGE_FEATURES = ""
+
+export IMAGE_BASENAME = "${PN}"
+IMAGE_LINGUAS = ""
+
+LICENSE = "MIT"
+
+IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
+inherit core-image
+
+IMAGE_ROOTFS_SIZE = "8192"
+IMAGE_ROOTFS_EXTRA_SPACE = "0"
+
+BAD_RECOMMENDATIONS += "busybox-syslog"