summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/initramfs-module-bootmenu_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initrdscripts/initramfs-module-bootmenu_1.0.bb')
-rw-r--r--packages/initrdscripts/initramfs-module-bootmenu_1.0.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/initrdscripts/initramfs-module-bootmenu_1.0.bb b/packages/initrdscripts/initramfs-module-bootmenu_1.0.bb
new file mode 100644
index 0000000000..3fc8647f6c
--- /dev/null
+++ b/packages/initrdscripts/initramfs-module-bootmenu_1.0.bb
@@ -0,0 +1,11 @@
+SRC_URI = "file://30-bootmenu.sh"
+PR = "r1"
+RDEPENDS = "util-linux-mount initramfs-uniboot initramfs-module-block initramfs-module-loop"
+DESCRIPTION = "An initramfs module with UI for selection of boot device."
+
+do_install() {
+ install -d ${D}/initrd.d
+ install -m 0755 ${WORKDIR}/30-bootmenu.sh ${D}/initrd.d/
+}
+
+FILES_${PN} += " /initrd.d/* "