initramfs-bootmenu-debug-image: A version of initramfs-bootmenu-image with dropbear...
authorPaul Sokolovsky <pmiscml@gmail.com>
Tue, 2 Dec 2008 12:44:13 +0000 (14:44 +0200)
committerPaul Sokolovsky <pmiscml@gmail.com>
Tue, 2 Dec 2008 12:44:13 +0000 (14:44 +0200)
packages/images/initramfs-bootmenu-debug-image.bb [new file with mode: 0644]

diff --git a/packages/images/initramfs-bootmenu-debug-image.bb b/packages/images/initramfs-bootmenu-debug-image.bb
new file mode 100644 (file)
index 0000000..df5bf2b
--- /dev/null
@@ -0,0 +1,16 @@
+# 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_INSTALL += " dropbear dropbear-backdoor"
+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"
+ROOTFS_POSTPROCESS_COMMAND += "opkg-cl ${IPKG_ARGS} -force-depends \
+                                remove ${PACKAGE_REMOVE};"
+
+IMAGE_FSTYPES += " cpio.gz "
+
+inherit image