summaryrefslogtreecommitdiff
path: root/recipes/images/initramfs-bootmenu-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/initramfs-bootmenu-image.bb')
-rw-r--r--recipes/images/initramfs-bootmenu-image.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/images/initramfs-bootmenu-image.bb b/recipes/images/initramfs-bootmenu-image.bb
new file mode 100644
index 0000000000..79806c9a98
--- /dev/null
+++ b/recipes/images/initramfs-bootmenu-image.bb
@@ -0,0 +1,15 @@
+# initramfs image with interactive boot menu allowing to select rootfs location
+# from choices of block devices, loopback images and NFS.
+
+IMAGE_INSTALL = "busybox-static initramfs-module-bootmenu initramfs-module-check-modules initramfs-module-kexecboot klibc-utils-static-modprobe"
+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 update-rc.d uclibc"
+ROOTFS_POSTPROCESS_COMMAND += "opkg-cl ${IPKG_ARGS} -force-depends \
+ remove ${PACKAGE_REMOVE};"
+
+IMAGE_FSTYPES += " cpio.gz "
+
+inherit image