summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dnf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/dnf')
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.8.0.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/dnf/dnf_4.8.0.bb b/meta/recipes-devtools/dnf/dnf_4.8.0.bb
index 44c4405939..f51d74797d 100644
--- a/meta/recipes-devtools/dnf/dnf_4.8.0.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.8.0.bb
@@ -32,7 +32,7 @@ EXTRA_OECMAKE = " -DWITH_MAN=0 -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -
32 32
33BBCLASSEXTEND = "native nativesdk" 33BBCLASSEXTEND = "native nativesdk"
34 34
35RDEPENDS_${PN} += " \ 35RDEPENDS:${PN} += " \
36 python3-core \ 36 python3-core \
37 python3-codecs \ 37 python3-codecs \
38 python3-netclient \ 38 python3-netclient \
@@ -55,32 +55,32 @@ RDEPENDS_${PN} += " \
55 python3-gpg \ 55 python3-gpg \
56 " 56 "
57 57
58RDEPENDS_${PN}_class-native = "" 58RDEPENDS:${PN}:class-native = ""
59 59
60RRECOMMENDS_${PN}_class-target += "gnupg" 60RRECOMMENDS:${PN}:class-target += "gnupg"
61 61
62# Create a symlink called 'dnf' as 'make install' does not do it, but 62# Create a symlink called 'dnf' as 'make install' does not do it, but
63# .spec file in dnf source tree does (and then Fedora and dnf documentation 63# .spec file in dnf source tree does (and then Fedora and dnf documentation
64# says that dnf binary is plain 'dnf'). 64# says that dnf binary is plain 'dnf').
65do_install_append() { 65do_install:append() {
66 lnr ${D}/${bindir}/dnf-3 ${D}/${bindir}/dnf 66 lnr ${D}/${bindir}/dnf-3 ${D}/${bindir}/dnf
67 lnr ${D}/${bindir}/dnf-automatic-3 ${D}/${bindir}/dnf-automatic 67 lnr ${D}/${bindir}/dnf-automatic-3 ${D}/${bindir}/dnf-automatic
68} 68}
69 69
70# Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in 70# Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in
71do_install_append_class-native() { 71do_install:append:class-native() {
72 create_wrapper ${D}/${bindir}/dnf \ 72 create_wrapper ${D}/${bindir}/dnf \
73 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ 73 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
74 RPM_NO_CHROOT_FOR_SCRIPTS=1 74 RPM_NO_CHROOT_FOR_SCRIPTS=1
75} 75}
76 76
77do_install_append_class-nativesdk() { 77do_install:append:class-nativesdk() {
78 create_wrapper ${D}/${bindir}/dnf \ 78 create_wrapper ${D}/${bindir}/dnf \
79 RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \ 79 RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \
80 RPM_NO_CHROOT_FOR_SCRIPTS=1 80 RPM_NO_CHROOT_FOR_SCRIPTS=1
81} 81}
82 82
83SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \ 83SYSTEMD_SERVICE:${PN} = "dnf-makecache.service dnf-makecache.timer \
84 dnf-automatic.service dnf-automatic.timer \ 84 dnf-automatic.service dnf-automatic.timer \
85 dnf-automatic-download.service dnf-automatic-download.timer \ 85 dnf-automatic-download.service dnf-automatic-download.timer \
86 dnf-automatic-install.service dnf-automatic-install.timer \ 86 dnf-automatic-install.service dnf-automatic-install.timer \