diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-14 23:42:26 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-14 23:42:26 +0200 |
commit | b395e3b40e026a437b7179b78f1beddf2d02a7bc (patch) | |
tree | f3118474a7af11fffb228915dcffd7f2580d26ee /target/linux/ramips/patches/119-initramfs.patch | |
parent | e266de11dcd0b2d71c445b943bef2f50258fa314 (diff) | |
download | mtk-20170518-b395e3b40e026a437b7179b78f1beddf2d02a7bc.zip mtk-20170518-b395e3b40e026a437b7179b78f1beddf2d02a7bc.tar.gz mtk-20170518-b395e3b40e026a437b7179b78f1beddf2d02a7bc.tar.bz2 |
target/linux/ramips: add all patches
Diffstat (limited to 'target/linux/ramips/patches/119-initramfs.patch')
-rwxr-xr-x | target/linux/ramips/patches/119-initramfs.patch | 16 |
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 |