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.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 30f3783e3c..999b8a6c86 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -61,6 +61,9 @@ fakeroot rootfs_rpm_do_rootfs () {
61 61
62 mkdir -p ${INSTALL_ROOTFS_RPM}${rpmlibdir} 62 mkdir -p ${INSTALL_ROOTFS_RPM}${rpmlibdir}
63 mkdir -p ${INSTALL_ROOTFS_RPM}${rpmlibdir}/log 63 mkdir -p ${INSTALL_ROOTFS_RPM}${rpmlibdir}/log
64 # After change the __db.* cache size, log file will not be generated automatically,
65 # that will raise some warnings, so touch a bare log for rpm write into it.
66 touch ${INSTALL_ROOTFS_RPM}${rpmlibdir}/log/log.0000000001
64 cat > ${INSTALL_ROOTFS_RPM}${rpmlibdir}/DB_CONFIG << EOF 67 cat > ${INSTALL_ROOTFS_RPM}${rpmlibdir}/DB_CONFIG << EOF
65# ================ Environment 68# ================ Environment
66set_data_dir . 69set_data_dir .