summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.2.2.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dnf/dnf_4.2.2.bb b/meta/recipes-devtools/dnf/dnf_4.2.2.bb
index 3970b41121..c77773332c 100644
--- a/meta/recipes-devtools/dnf/dnf_4.2.2.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.2.2.bb
@@ -26,7 +26,7 @@ EXTRA_OECMAKE = " -DWITH_MAN=0 -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -
26 26
27BBCLASSEXTEND = "native nativesdk" 27BBCLASSEXTEND = "native nativesdk"
28 28
29RDEPENDS_${PN}_class-target += " \ 29RDEPENDS_${PN} += " \
30 python3-core \ 30 python3-core \
31 python3-codecs \ 31 python3-codecs \
32 python3-netclient \ 32 python3-netclient \
@@ -49,6 +49,8 @@ RDEPENDS_${PN}_class-target += " \
49 python3-gpg \ 49 python3-gpg \
50 " 50 "
51 51
52RDEPENDS_${PN}_class-native = ""
53
52RRECOMMENDS_${PN}_class-target += "gnupg" 54RRECOMMENDS_${PN}_class-target += "gnupg"
53 55
54# Create a symlink called 'dnf' as 'make install' does not do it, but 56# Create a symlink called 'dnf' as 'make install' does not do it, but
@@ -66,6 +68,12 @@ do_install_append_class-native() {
66 RPM_NO_CHROOT_FOR_SCRIPTS=1 68 RPM_NO_CHROOT_FOR_SCRIPTS=1
67} 69}
68 70
71do_install_append_class-nativesdk() {
72 create_wrapper ${D}/${bindir}/dnf \
73 RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \
74 RPM_NO_CHROOT_FOR_SCRIPTS=1
75}
76
69SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \ 77SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \
70 dnf-automatic.service dnf-automatic.timer \ 78 dnf-automatic.service dnf-automatic.timer \
71 dnf-automatic-download.service dnf-automatic-download.timer \ 79 dnf-automatic-download.service dnf-automatic-download.timer \