X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3b617e51ccb4e6e8fd00cbf15bf76a218776d6dd..84bf4449a74237550378ee5fded32c8ddb7b97ff:/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch?ds=sidebyside diff --git a/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch b/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch index d03d34b33..dc49e1206 100644 --- a/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch +++ b/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch @@ -1,4 +1,3 @@ -diff --git a/init/initramfs.c b/init/initramfs.c --- a/init/initramfs.c +++ b/init/initramfs.c @@ -475,6 +475,69 @@ static void __init flush_window(void) @@ -71,7 +70,7 @@ diff --git a/init/initramfs.c b/init/initramfs.c static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only) { int written; -@@ -509,12 +572,28 @@ static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only) +@@ -509,12 +572,28 @@ static char * __init unpack_to_rootfs(ch inptr = 0; outcnt = 0; /* bytes in output buffer */ bytes_out = 0; @@ -105,7 +104,6 @@ diff --git a/init/initramfs.c b/init/initramfs.c buf += inptr; len -= inptr; } -diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh --- a/scripts/gen_initramfs_list.sh +++ b/scripts/gen_initramfs_list.sh @@ -287,7 +287,7 @@ if [ ! -z ${output_file} ]; then