summaryrefslogtreecommitdiff
path: root/recipes/initrdscripts/initramfs-jffs2_0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/initrdscripts/initramfs-jffs2_0.1.bb')
-rw-r--r--recipes/initrdscripts/initramfs-jffs2_0.1.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/initrdscripts/initramfs-jffs2_0.1.bb b/recipes/initrdscripts/initramfs-jffs2_0.1.bb
new file mode 100644
index 0000000000..812e612126
--- /dev/null
+++ b/recipes/initrdscripts/initramfs-jffs2_0.1.bb
@@ -0,0 +1,10 @@
+SRC_URI = "file://jffs2boot.sh"
+PR = "r3"
+RRECOMMENDS = "kernel-module-mtdblock kernel-module-mtdram"
+
+do_install() {
+ install -m 0755 ${WORKDIR}/jffs2boot.sh ${D}/init
+}
+
+PACKAGE_ARCH = "all"
+FILES_${PN} += " /init "