initramfs-image: A sample initramfs image.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sun, 10 Jun 2007 23:05:05 +0000 (23:05 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sun, 10 Jun 2007 23:05:05 +0000 (23:05 +0000)
* Shows all ingredients of a good initramfs image: custom init script run
by statically linked busybox, with all of them installed by explicit list
without any unneeded dependencies. ~500k.

packages/images/initramfs-image.bb [new file with mode: 0644]

diff --git a/packages/images/initramfs-image.bb b/packages/images/initramfs-image.bb
new file mode 100644 (file)
index 0000000..1b60405
--- /dev/null
@@ -0,0 +1,15 @@
+# Sample initramfs image
+LICENSE = "MIT"
+PR = "r0"
+
+#RDEPENDS = "initramfs-boot busybox kernel-module-uinput uclibc libgcc1"
+RDEPENDS = "initramfs-nfsboot busybox-static kernel-module-uinput"
+
+export IMAGE_BASENAME = "initramfs-image"
+export IMAGE_LINGUAS = ""
+
+PACKAGE_INSTALL = "${RDEPENDS}"
+# Install only ${PACKAGE_INSTALL}, not even deps
+PACKAGE_INSTALL_NO_DEPS = "1"
+
+inherit image