summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-06-10 23:05:05 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-06-10 23:05:05 +0000
commit22216a85cbc10ac26689b6321af08a02fa8ac62f (patch)
treecea609be0499b277adb07198136cc30767d7ae17 /packages
parent5d068b368f9b6858395ca99067d9d3aa64734c65 (diff)
initramfs-image: A sample initramfs image.
* 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.
Diffstat (limited to 'packages')
-rw-r--r--packages/images/initramfs-image.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/images/initramfs-image.bb b/packages/images/initramfs-image.bb
new file mode 100644
index 0000000000..1b60405e74
--- /dev/null
+++ b/packages/images/initramfs-image.bb
@@ -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