From: Peter Kjellerstedt Date: Sun, 27 Mar 2022 01:47:18 +0000 (+0200) Subject: libdnf: Add a dependency on util-linux X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4612 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9bbbe72221e56a82892981a5ff254e559795ac6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libdnf: Add a dependency on util-linux This avoids the following configuration error: -- Checking for module 'smartcols' -- No package 'smartcols' found CMake Error at .../usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message): A required package was not found which happens if glib-2.0 is configured without the libmount PACKAGECONFIG that otherwise depends on util-linux. Signed-off-by: Peter Kjellerstedt Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb b/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb index 1bfe901c8aa..2558f96851d 100644 --- a/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb +++ b/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb @@ -18,7 +18,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P(?!4\.90)\d+(\.\d+)+)" S = "${WORKDIR}/git" -DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native" +DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux" inherit gtk-doc gobject-introspection cmake pkgconfig setuptools3-base