X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a11dfce7a25fb7de61f3306c25d833710fdb316b..a6e679f20b3f51aa3cae09554c8573c51f0cf8d3:/target/linux/brcm47xx/patches-2.6.25/500-lzma_initramfs.patch diff --git a/target/linux/brcm47xx/patches-2.6.25/500-lzma_initramfs.patch b/target/linux/brcm47xx/patches-2.6.25/500-lzma_initramfs.patch index 59c1d1d75..a2e4c2b85 100644 --- a/target/linux/brcm47xx/patches-2.6.25/500-lzma_initramfs.patch +++ b/target/linux/brcm47xx/patches-2.6.25/500-lzma_initramfs.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.25/scripts/gen_initramfs_list.sh -=================================================================== ---- linux-2.6.25.orig/scripts/gen_initramfs_list.sh 2008-04-26 21:57:00.000000000 +0100 -+++ linux-2.6.25/scripts/gen_initramfs_list.sh 2008-04-26 21:57:20.000000000 +0100 -@@ -287,7 +287,7 @@ if [ ! -z ${output_file} ]; then +--- a/scripts/gen_initramfs_list.sh ++++ b/scripts/gen_initramfs_list.sh +@@ -287,7 +287,7 @@ if [ "${is_cpio_compressed}" = "compressed" ]; then cat ${cpio_tfile} > ${output_file} else @@ -11,11 +9,9 @@ Index: linux-2.6.25/scripts/gen_initramfs_list.sh fi [ -z ${cpio_file} ] && rm ${cpio_tfile} fi -Index: linux-2.6.25/init/initramfs.c -=================================================================== ---- linux-2.6.25.orig/init/initramfs.c 2008-04-26 21:56:21.000000000 +0100 -+++ linux-2.6.25/init/initramfs.c 2008-04-26 21:57:20.000000000 +0100 -@@ -441,6 +441,69 @@ static void __init flush_window(void) +--- a/init/initramfs.c ++++ b/init/initramfs.c +@@ -441,6 +441,69 @@ outcnt = 0; } @@ -85,7 +81,7 @@ Index: linux-2.6.25/init/initramfs.c static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only) { int written; -@@ -475,12 +538,28 @@ static char * __init unpack_to_rootfs(ch +@@ -475,12 +538,28 @@ inptr = 0; outcnt = 0; /* bytes in output buffer */ bytes_out = 0;