summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches/119-initramfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches/119-initramfs.patch')
-rwxr-xr-xtarget/linux/ramips/patches/119-initramfs.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ramips/patches/119-initramfs.patch b/target/linux/ramips/patches/119-initramfs.patch
new file mode 100755
index 0000000..53bd283
--- /dev/null
+++ b/target/linux/ramips/patches/119-initramfs.patch
@@ -0,0 +1,16 @@
+Index: linux-3.10.14/scripts/gen_initramfs_list.sh
+===================================================================
+--- linux-3.10.14.orig/scripts/gen_initramfs_list.sh
++++ linux-3.10.14/scripts/gen_initramfs_list.sh
+@@ -303,8 +303,9 @@ if [ ! -z ${output_file} ]; then
+ if [ "${is_cpio_compressed}" = "compressed" ]; then
+ cat ${cpio_tfile} > ${output_file}
+ else
+- (cat ${cpio_tfile} | ${compr} - > ${output_file}) \
+- || (rm -f ${output_file} ; false)
++ #(cat ${cpio_tfile} | ${compr} - > ${output_file}) \
++ #|| (rm -f ${output_file} ; false)
++ ${STAGING_DIR}/../host/bin/lzma_alone e ${cpio_tfile} ${output_file} -d20
+ fi
+ [ -z ${cpio_file} ] && rm ${cpio_tfile}
+ fi