diff options
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 26 |
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 | ||
53 | set_data_dir . | ||
54 | set_create_dir . | ||
55 | set_lg_dir ./log | ||
56 | set_tmp_dir ./tmp | ||
57 | |||
58 | # -- thread_count must be >= 8 | ||
59 | set_thread_count 64 | ||
60 | |||
61 | # ================ Logging | ||
62 | |||
63 | # ================ Memory Pool | ||
64 | set_mp_mmapsize 268435456 | ||
65 | |||
66 | # ================ Locking | ||
67 | set_lk_max_locks 16384 | ||
68 | set_lk_max_lockers 16384 | ||
69 | set_lk_max_objects 16384 | ||
70 | mutex_set_max 163840 | ||
71 | |||
72 | # ================ Replication | ||
73 | EOF | ||
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}" |