From 22216a85cbc10ac26689b6321af08a02fa8ac62f Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 10 Jun 2007 23:05:05 +0000 Subject: [PATCH] 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. --- packages/images/initramfs-image.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/images/initramfs-image.bb 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 -- 2.39.5