diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch b/meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch index e063e86c44..d9b4e33fdd 100644 --- a/meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch +++ b/meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch | |||
@@ -4,16 +4,16 @@ Change cache size to reduce the usage of disk space from 62MB to 26MB. | |||
4 | 4 | ||
5 | Signed-off-by: Mei Lei <lei.mei@intel.com> | 5 | Signed-off-by: Mei Lei <lei.mei@intel.com> |
6 | 6 | ||
7 | diff --git a/rpmdb/DB_CONFIG.in b/rpmdb/DB_CONFIG.in | 7 | Index: rpm-5.4.8/rpmdb/DB_CONFIG.in |
8 | index e0b4689..b64e3a9 100644 | 8 | =================================================================== |
9 | --- a/rpmdb/DB_CONFIG.in | 9 | --- rpm-5.4.8.orig/rpmdb/DB_CONFIG.in |
10 | +++ b/rpmdb/DB_CONFIG.in | 10 | +++ rpm-5.4.8/rpmdb/DB_CONFIG.in |
11 | @@ -29,7 +29,7 @@ set_thread_count 64 | 11 | @@ -29,7 +29,7 @@ set_thread_count 64 |
12 | 12 | ||
13 | # ================ Memory Pool | 13 | # ================ Memory Pool |
14 | #XXX initializing dbenv with set_cachesize has unimplemented prerequsites | 14 | #XXX initializing dbenv with set_cachesize has unimplemented prerequsites |
15 | -#set_cachesize 0 1048576 0 | 15 | -#set_cachesize 0 1048576 0 |
16 | +set_cachesize 0 1048576 0 | 16 | +set_cachesize 0 1048576 0 |
17 | set_mp_mmapsize 268435456 | 17 | set_mp_mmapsize 268435456 |
18 | 18 | ||
19 | # ================ Locking | 19 | # ================ Locking |