X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm47xx%2Fpatches-2.6.25%2F500-lzma_initramfs.patch;fp=target%2Flinux%2Fbrcm47xx%2Fpatches-2.6.25%2F500-lzma_initramfs.patch;h=59f4c1fdb3d91769cf93491c290832aa52832b1c;hb=94b5af79b4051dceca40fedc440a3348ff987b3b;hp=a2e4c2b85c40af805f957ab07aa4b6fa2695aaa7;hpb=0f80ce2088410d9ccb5f3c8070210af67c787ae0;p=openwrt-10.03%2F.git 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 a2e4c2b85..59f4c1fdb 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,6 +1,6 @@ --- a/scripts/gen_initramfs_list.sh +++ b/scripts/gen_initramfs_list.sh -@@ -287,7 +287,7 @@ +@@ -287,7 +287,7 @@ if [ ! -z ${output_file} ]; then if [ "${is_cpio_compressed}" = "compressed" ]; then cat ${cpio_tfile} > ${output_file} else @@ -11,7 +11,7 @@ fi --- a/init/initramfs.c +++ b/init/initramfs.c -@@ -441,6 +441,69 @@ +@@ -441,6 +441,69 @@ static void __init flush_window(void) outcnt = 0; } @@ -81,7 +81,7 @@ static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only) { int written; -@@ -475,12 +538,28 @@ +@@ -475,12 +538,28 @@ static char * __init unpack_to_rootfs(ch inptr = 0; outcnt = 0; /* bytes in output buffer */ bytes_out = 0;