summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/initramfs-module-loop_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initrdscripts/initramfs-module-loop_1.0.bb')
-rw-r--r--packages/initrdscripts/initramfs-module-loop_1.0.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/initrdscripts/initramfs-module-loop_1.0.bb b/packages/initrdscripts/initramfs-module-loop_1.0.bb
new file mode 100644
index 0000000000..54e7fa29e3
--- /dev/null
+++ b/packages/initrdscripts/initramfs-module-loop_1.0.bb
@@ -0,0 +1,13 @@
+SRC_URI = "file://80-loopboot.sh"
+PR = "r0"
+DESCRIPTION = "An initramfs module for booting a filesystem image by loopback \
+ mounting it."
+RDEPENDS = "initramfs-uniboot"
+RRECOMMENDS = "kernel-module-loop kernel-module-vfat"
+
+do_install() {
+ install -d ${D}/initrd.d
+ install -m 0755 ${WORKDIR}/80-loopboot.sh ${D}/initrd.d/
+}
+
+FILES_${PN} += " /initrd.d/* "