diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-01-23 12:10:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-24 20:09:00 +0000 |
commit | fcdc8d7f6d10b3abf9f6a28cff55b1cc89b88bc9 (patch) | |
tree | 61c0c97b459479dfec8e4fe4ce2c4eb4216608a0 /meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch | |
parent | e90fad58faf9e25479158359c528999b09be1a02 (diff) | |
download | poky-fcdc8d7f6d10b3abf9f6a28cff55b1cc89b88bc9.tar.gz |
libzypp: remove
This was only needed by zypper, which has itself been removed.
(From OE-Core rev: 5c8169bd1c114aab76001a38ee4dd68d00d825e0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch')
-rw-r--r-- | meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch | 27 |
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 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | diff --git a/zypp/target/rpm/librpmDb.cc b/zypp/target/rpm/librpmDb.cc | ||
4 | index 1689fbb..4999cd9 100644 | ||
5 | --- a/zypp/target/rpm/librpmDb.cc | ||
6 | +++ b/zypp/target/rpm/librpmDb.cc | ||
7 | @@ -60,20 +60,6 @@ public: | ||
8 | const char * root = ( _root == "/" ? NULL : _root.asString().c_str() ); | ||
9 | int perms = 0644; | ||
10 | |||
11 | - // check whether to create a new db | ||
12 | - PathInfo master( _root + _dbPath + "Packages" ); | ||
13 | - if ( ! master.isFile() ) | ||
14 | - { | ||
15 | - // init database | ||
16 | - int res = ::rpmdbInit( root, perms ); | ||
17 | - if ( res ) | ||
18 | - { | ||
19 | - ERR << "rpmdbInit error(" << res << "): " << *this << endl; | ||
20 | - _error = shared_ptr<RpmInitException>(new RpmInitException(_root, _dbPath)); | ||
21 | - ZYPP_THROW(*_error); | ||
22 | - } | ||
23 | - } | ||
24 | - | ||
25 | // open database | ||
26 | int res = ::rpmdbOpen( root, &_db, (readonly_r ? O_RDONLY : O_RDWR ), perms ); | ||
27 | if ( res || !_db ) | ||