summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index caafbdc721..04ccabd5f4 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -46,6 +46,32 @@ fakeroot rootfs_rpm_do_rootfs () {
46 # Setup base system configuration 46 # Setup base system configuration
47 mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ 47 mkdir -p ${IMAGE_ROOTFS}/etc/rpm/
48 48
49 mkdir -p ${IMAGE_ROOTFS}${rpmlibdir}
50 mkdir -p ${IMAGE_ROOTFS}${rpmlibdir}/log
51 cat > ${IMAGE_ROOTFS}${rpmlibdir}/DB_CONFIG << EOF
52# ================ Environment
53set_data_dir .
54set_create_dir .
55set_lg_dir ./log
56set_tmp_dir ./tmp
57
58# -- thread_count must be >= 8
59set_thread_count 64
60
61# ================ Logging
62
63# ================ Memory Pool
64set_mp_mmapsize 268435456
65
66# ================ Locking
67set_lk_max_locks 16384
68set_lk_max_lockers 16384
69set_lk_max_objects 16384
70mutex_set_max 163840
71
72# ================ Replication
73EOF
74
49 #install pacakges 75 #install pacakges
50 export INSTALL_ROOTFS_RPM="${IMAGE_ROOTFS}" 76 export INSTALL_ROOTFS_RPM="${IMAGE_ROOTFS}"
51 export INSTALL_PLATFORM_RPM="${TARGET_ARCH}" 77 export INSTALL_PLATFORM_RPM="${TARGET_ARCH}"