initramfs-bootmenu-image: Image to enjoy initramfs-module-bootmenu functionality.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sun, 2 Dec 2007 15:25:59 +0000 (15:25 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sun, 2 Dec 2007 15:25:59 +0000 (15:25 +0000)
* Essentially, a bootloader with rootfs location selection. Only rootfs for already
booted kernel, no kexec support.
* Note: *generic* boot menu/loader, not some "zauri" mumbo-jumbo.

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

diff --git a/packages/images/initramfs-bootmenu-image.bb b/packages/images/initramfs-bootmenu-image.bb
new file mode 100644 (file)
index 0000000..a495363
--- /dev/null
@@ -0,0 +1,11 @@
+# Sample initramfs image
+
+IMAGE_INSTALL = "busybox-static initramfs-module-bootmenu"
+IMAGE_LINGUAS = ""
+
+# Remove any kernel-image that the kernel-module-* packages may have pulled in.
+PACKAGE_REMOVE = "kernel-image-* update-modules module-init-tools-depmod uclibc update-rc.d"
+ROOTFS_POSTPROCESS_COMMAND += "ipkg-cl ${IPKG_ARGS} -force-depends \
+                                remove ${PACKAGE_REMOVE};"
+
+inherit image