summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/rpm-db-reduce.patch
blob: e063e86c44bb053df4144fdcf3f63656373cc6f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Upstream-Status: Inappropriate [configuration]

Change cache size to reduce the usage of disk space from 62MB to 26MB. 

Signed-off-by: Mei Lei <lei.mei@intel.com>

diff --git a/rpmdb/DB_CONFIG.in b/rpmdb/DB_CONFIG.in
index e0b4689..b64e3a9 100644
--- a/rpmdb/DB_CONFIG.in
+++ b/rpmdb/DB_CONFIG.in
@@ -29,7 +29,7 @@ set_thread_count	64
 
 # ================ Memory Pool
 #XXX initializing dbenv with set_cachesize has unimplemented prerequsites
-#set_cachesize		0 1048576 0 
+set_cachesize		0 1048576 0 
 set_mp_mmapsize		268435456
 
 # ================ Locking