summaryrefslogtreecommitdiff
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-06-11 13:18:52 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-12 11:01:51 +0100
commitc5898ef3fc3820ff9c44bc5b1b16e5def64aa877 (patch)
treea0e0d531604b29fc6932f4fe57c1002ff61f1f37 /meta/classes/rootfs_rpm.bbclass
parent0eddc176e73e74d4b1a7d3163d65f619fcd4baf0 (diff)
downloadopenembedded-core-c5898ef3fc3820ff9c44bc5b1b16e5def64aa877.tar.gz
openembedded-core-c5898ef3fc3820ff9c44bc5b1b16e5def64aa877.tar.bz2
openembedded-core-c5898ef3fc3820ff9c44bc5b1b16e5def64aa877.zip
rpm: Upgrade RPM to 5.4.8 (db to 5.3.15)
RPM 5.4.8 requires db 5.3.x, so both are upgraded together. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass22
1 files changed, 12 insertions, 10 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index fbc46c056a..eafb34bc3e 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -66,24 +66,26 @@ fakeroot rootfs_rpm_do_rootfs () {
touch ${INSTALL_ROOTFS_RPM}${rpmlibdir}/log/log.0000000001
cat > ${INSTALL_ROOTFS_RPM}${rpmlibdir}/DB_CONFIG << EOF
# ================ Environment
-set_data_dir .
-set_create_dir .
-set_lg_dir ./log
-set_tmp_dir ./tmp
+set_data_dir .
+set_create_dir .
+set_lg_dir ./log
+set_tmp_dir ./tmp
+set_flags db_log_autoremove on
# -- thread_count must be >= 8
-set_thread_count 64
+set_thread_count 64
# ================ Logging
# ================ Memory Pool
-set_mp_mmapsize 268435456
+set_cachesize 0 1048576 0
+set_mp_mmapsize 268435456
# ================ Locking
-set_lk_max_locks 16384
-set_lk_max_lockers 16384
-set_lk_max_objects 16384
-mutex_set_max 163840
+set_lk_max_locks 16384
+set_lk_max_lockers 16384
+set_lk_max_objects 16384
+mutex_set_max 163840
# ================ Replication
EOF