summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-02 15:25:59 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-02 15:25:59 +0000
commit5e6ff63a6a2d9f26b104ea604c934d996a28d71e (patch)
tree7f8f8656ff1b88fd10b8cb49f101ebf23d3ef9e6
parentaaae6121b5a52c406595df87540878fef16d287d (diff)
initramfs-bootmenu-image: Image to enjoy initramfs-module-bootmenu functionality.
* 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.
-rw-r--r--packages/images/initramfs-bootmenu-image.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/images/initramfs-bootmenu-image.bb b/packages/images/initramfs-bootmenu-image.bb
new file mode 100644
index 0000000000..a495363661
--- /dev/null
+++ b/packages/images/initramfs-bootmenu-image.bb
@@ -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