summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 36eb8e308b..89e8fe891a 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -36,6 +36,7 @@ package_update_index_rpm () {
36 cat /dev/null > ${DEPLOY_DIR_RPM}/solvedb.conf 36 cat /dev/null > ${DEPLOY_DIR_RPM}/solvedb.conf
37 for pkgdir in $packagedirs; do 37 for pkgdir in $packagedirs; do
38 if [ -e $pkgdir/ ]; then 38 if [ -e $pkgdir/ ]; then
39 echo "Generating solve db for $pkgdir..."
39 rm -rf $pkgdir/solvedb 40 rm -rf $pkgdir/solvedb
40 mkdir -p $pkgdir/solvedb 41 mkdir -p $pkgdir/solvedb
41 echo "# Dynamically generated solve manifest" >> $pkgdir/solvedb/manifest 42 echo "# Dynamically generated solve manifest" >> $pkgdir/solvedb/manifest
@@ -43,6 +44,9 @@ package_update_index_rpm () {
43 ${RPM} -i --replacepkgs --replacefiles --oldpackage \ 44 ${RPM} -i --replacepkgs --replacefiles --oldpackage \
44 -D "_dbpath $pkgdir/solvedb" --justdb \ 45 -D "_dbpath $pkgdir/solvedb" --justdb \
45 --noaid --nodeps --noorder --noscripts --notriggers --noparentdirs --nolinktos --stats \ 46 --noaid --nodeps --noorder --noscripts --notriggers --noparentdirs --nolinktos --stats \
47 --ignoresize --nosignature --nodigest \
48 -D "_dbi_tags_3 Packages:Name:Basenames:Providename:Nvra" \
49 -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync" \
46 $pkgdir/solvedb/manifest 50 $pkgdir/solvedb/manifest
47 echo $pkgdir/solvedb >> ${DEPLOY_DIR_RPM}/solvedb.conf 51 echo $pkgdir/solvedb >> ${DEPLOY_DIR_RPM}/solvedb.conf
48 fi 52 fi