libdnf: update 0.69.0 -> 0.70.0

Drop the patch as issue addressed upstream.

(From OE-Core rev: b5a4c652448284253ab1444d05fdf6bfebfa4273)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-03-09 16:19:39 +01:00
committed by Richard Purdie
parent 5edf7fe5e2
commit 82fd20bf43
2 changed files with 1 additions and 39 deletions

View File

@@ -1,37 +0,0 @@
From 2f7382b35d59fe08034603497e82ffb943fedef1 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed, 30 Jun 2021 15:31:16 +0200
Subject: [PATCH] libdnf/dnf-context.cpp: do not try to access BDB database
Upstream-Status: Inappropriate [upstream needs to rework this to support
sqlite]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
libdnf/dnf-context.cpp | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/libdnf/dnf-context.cpp b/libdnf/dnf-context.cpp
index 86f71a79..9cdcf769 100644
--- a/libdnf/dnf-context.cpp
+++ b/libdnf/dnf-context.cpp
@@ -2264,20 +2264,6 @@ dnf_context_setup(DnfContext *context,
!dnf_context_set_os_release(context, error))
return FALSE;
- /* setup a file monitor on the rpmdb, if we're operating on the native / */
- if (g_strcmp0(priv->install_root, "/") == 0) {
- rpmdb_path = g_build_filename(priv->install_root, "var/lib/rpm/Packages", NULL);
- file_rpmdb = g_file_new_for_path(rpmdb_path);
- priv->monitor_rpmdb = g_file_monitor_file(file_rpmdb,
- G_FILE_MONITOR_NONE,
- NULL,
- error);
- if (priv->monitor_rpmdb == NULL)
- return FALSE;
- g_signal_connect(priv->monitor_rpmdb, "changed",
- G_CALLBACK(dnf_context_rpmdb_changed_cb), context);
- }
-
/* copy any vendor distributed cached metadata */
if (!dnf_context_copy_vendor_cache(context, error))
return FALSE;

View File

@@ -10,10 +10,9 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p
file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \
file://enable_test_data_dir_set.patch \
file://0001-drop-FindPythonInstDir.cmake.patch \
file://0001-libdnf-dnf-context.cpp-do-not-try-to-access-BDB-data.patch \
"
SRCREV = "5c6d9cd6e5955e7038722f091396607c60fcbdd1"
SRCREV = "93759bc5cac262906e52b6a173d7b157914ec29e"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
S = "${WORKDIR}/git"