aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch')
-rw-r--r--meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch b/meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch
deleted file mode 100644
index 7006203315..0000000000
--- a/meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Upstream-Status: Pending
-
-diff --git a/zypp/target/rpm/librpmDb.cc b/zypp/target/rpm/librpmDb.cc
-index 1689fbb..4999cd9 100644
---- a/zypp/target/rpm/librpmDb.cc
-+++ b/zypp/target/rpm/librpmDb.cc
-@@ -60,20 +60,6 @@ public:
- const char * root = ( _root == "/" ? NULL : _root.asString().c_str() );
- int perms = 0644;
-
-- // check whether to create a new db
-- PathInfo master( _root + _dbPath + "Packages" );
-- if ( ! master.isFile() )
-- {
-- // init database
-- int res = ::rpmdbInit( root, perms );
-- if ( res )
-- {
-- ERR << "rpmdbInit error(" << res << "): " << *this << endl;
-- _error = shared_ptr<RpmInitException>(new RpmInitException(_root, _dbPath));
-- ZYPP_THROW(*_error);
-- }
-- }
--
- // open database
- int res = ::rpmdbOpen( root, &_db, (readonly_r ? O_RDONLY : O_RDWR ), perms );
- if ( res || !_db )