summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2015-03-04 11:44:44 (GMT)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2015-03-04 11:44:44 (GMT)
commit6abec5e7fd446df527d7618dfdb9c0c04bf7d7ca (patch)
tree5d635c511eb466a928488b4fe4dec05cf611b648
parentfffe86762bdbe29e696af7d9119570fad565dab5 (diff)
downloadmeta-collabora-6abec5e7fd446df527d7618dfdb9c0c04bf7d7ca.tar.gz
meta-collabora-6abec5e7fd446df527d7618dfdb9c0c04bf7d7ca.tar.xz
images: Small ramdisk image capable of booting a device.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
-rw-r--r--recipes-core/images/core-image-ramdisk-minimal.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-core/images/core-image-ramdisk-minimal.bb b/recipes-core/images/core-image-ramdisk-minimal.bb
new file mode 100644
index 0000000..9f7ed50
--- /dev/null
+++ b/recipes-core/images/core-image-ramdisk-minimal.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Small image capable of booting a device."
+
+PACKAGE_INSTALL = "initramfs-boot busybox busybox-httpd udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
+
+# Do not pollute the initrd image with rootfs features
+IMAGE_FEATURES = ""
+
+export IMAGE_BASENAME = "core-image-ramdisk-minimal"
+IMAGE_LINGUAS = ""
+
+LICENSE = "MIT"
+
+IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
+inherit core-image
+
+IMAGE_ROOTFS_SIZE = "8192"
+
+BAD_RECOMMENDATIONS += "busybox-syslog"