mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
rpm: Fix rpm database files capacity issue.
Tune the __db* size in DB_CONFIG. This will reduce the __db* size from 62MB to 26MB in qemu. [YOCTO #1769] (From OE-Core rev: 32d308bb38612cef2a98a4c40f058b4db50787aa) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -61,6 +61,9 @@ fakeroot rootfs_rpm_do_rootfs () {
|
||||
|
||||
mkdir -p ${INSTALL_ROOTFS_RPM}${rpmlibdir}
|
||||
mkdir -p ${INSTALL_ROOTFS_RPM}${rpmlibdir}/log
|
||||
# After change the __db.* cache size, log file will not be generated automatically,
|
||||
# that will raise some warnings, so touch a bare log for rpm write into it.
|
||||
touch ${INSTALL_ROOTFS_RPM}${rpmlibdir}/log/log.0000000001
|
||||
cat > ${INSTALL_ROOTFS_RPM}${rpmlibdir}/DB_CONFIG << EOF
|
||||
# ================ Environment
|
||||
set_data_dir .
|
||||
|
||||
Reference in New Issue
Block a user