[oe-commits] Dmitry Eremin-Solenikov : initramfs-debug-image: tiny debugging initramfs image

git at git.openembedded.org git at git.openembedded.org
Mon Apr 13 11:11:15 UTC 2015


Module: meta-openembedded.git
Branch: fido-next
Commit: f3efc4f94fce21e0d659a758a2b33794fc41bf52
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f3efc4f94fce21e0d659a758a2b33794fc41bf52

Author: Dmitry Eremin-Solenikov <dmitry_eremin at mentor.com>
Date:   Thu Apr  2 18:23:02 2015 +0300

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 at mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../recipes-bsp/images/initramfs-debug-image.bb     | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

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 0000000..8e87c19
--- /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"



More information about the Openembedded-commits mailing list