projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[tools] add mktitanimg to create Titan (AR7-based) images (#6632)
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.31
/
053-lzo_compression_for_initramfs.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch
b/target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch
index
f0d8ff3
..
c05c383
100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch
+++ b/
target/linux/generic-2.6/patches-2.6.31/053-lzo_compression_for_initramfs.patch
@@
-1,10
+1,8
@@
-diff --git a/lib/Kconfig b/lib/Kconfig
-index bb1326d..8639349 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
--- a/lib/Kconfig
+++ b/lib/Kconfig
-@@ -1
17,6 +117,10 @@ config DECOMPRESS_BZIP2
- config DECOMPRESS_LZMA
- tristate
+@@ -1
20,6 +120,10 @@ config DECOMPRESS_LZMA
+ config DECOMPRESS_LZMA
_NEEDED
+ boolean
+config DECOMPRESS_LZO
+ select LZO_DECOMPRESS
+config DECOMPRESS_LZO
+ select LZO_DECOMPRESS
@@
-13,8
+11,6
@@
index bb1326d..8639349 100644
#
# Generic allocator support is selected if needed
#
#
# Generic allocator support is selected if needed
#
-diff --git a/lib/Makefile b/lib/Makefile
-index 2e78277..cfa4041 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -69,6 +69,7 @@ obj-$(CONFIG_LZO_DECOMPRESS) += lzo/
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -69,6 +69,7 @@ obj-$(CONFIG_LZO_DECOMPRESS) += lzo/
@@
-25,8
+21,6
@@
index 2e78277..cfa4041 100644
obj-$(CONFIG_TEXTSEARCH) += textsearch.o
obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o
obj-$(CONFIG_TEXTSEARCH) += textsearch.o
obj-$(CONFIG_TEXTSEARCH_KMP) += ts_kmp.o
-diff --git a/lib/decompress.c b/lib/decompress.c
-index d2842f5..a760681 100644
--- a/lib/decompress.c
+++ b/lib/decompress.c
@@ -9,6 +9,7 @@
--- a/lib/decompress.c
+++ b/lib/decompress.c
@@ -9,6 +9,7 @@
@@
-55,8
+49,6
@@
index d2842f5..a760681 100644
{ {0, 0}, NULL, NULL }
};
{ {0, 0}, NULL, NULL }
};
-diff --git a/usr/Kconfig b/usr/Kconfig
-index 1c3039f..e2721f5 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -72,6 +72,15 @@ config RD_LZMA
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -72,6 +72,15 @@ config RD_LZMA
@@
-66,7
+58,7
@@
index 1c3039f..e2721f5 100644
+config RD_LZO
+ bool "Support initial ramdisks compressed using LZO" if EMBEDDED
+ default !EMBEDDED
+config RD_LZO
+ bool "Support initial ramdisks compressed using LZO" if EMBEDDED
+ default !EMBEDDED
-+ depends on BLK_DEV_INITRD
++ depends on BLK_DEV_INITRD
&& HAVE_KERNEL_LZO
+ select DECOMPRESS_LZO
+ help
+ Support loading of a LZO encoded initial ramdisk or cpio buffer
+ select DECOMPRESS_LZO
+ help
+ Support loading of a LZO encoded initial ramdisk or cpio buffer
This page took
0.024441 seconds
and
4
git commands to generate.