aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry_eremin@mentor.com>2015-04-02 18:23:02 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2015-04-13 12:55:51 +0200
commitf3efc4f94fce21e0d659a758a2b33794fc41bf52 (patch)
tree16effae99a31eec1a47ef66416f2e700e3c9f737
parenta94da017797e82d62484ffbced93108ce5830de1 (diff)
downloadmeta-openembedded-contrib-f3efc4f94fce21e0d659a758a2b33794fc41bf52.tar.gz
meta-openembedded-contrib-f3efc4f94fce21e0d659a758a2b33794fc41bf52.tar.bz2
meta-openembedded-contrib-f3efc4f94fce21e0d659a758a2b33794fc41bf52.zip
initramfs-debug-image: tiny debugging initramfs image
A tiny initramfs image suitable for initial bringup of the hardware. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb b/meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb
new file mode 100644
index 0000000000..8e87c19a26
--- /dev/null
+++ b/meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb
@@ -0,0 +1,21 @@
+# Simple initramfs image. Mostly used for live images.
+DESCRIPTION = "Small image capable of booting a device. The kernel includes \
+the Minimal RAM-based Initial Root Filesystem (initramfs), which one can use \
+to check the hardware efficiently."
+
+PACKAGE_INSTALL = "initramfs-debug busybox base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
+
+# Do not pollute the initrd image with rootfs features
+IMAGE_FEATURES = ""
+
+export IMAGE_BASENAME = "initramfs-debug-image"
+IMAGE_LINGUAS = ""
+
+LICENSE = "MIT"
+
+IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
+inherit core-image
+
+IMAGE_ROOTFS_SIZE = "8192"
+
+BAD_RECOMMENDATIONS += "busybox-syslog"