summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.16.1.3.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb b/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
index 2857cd730c..f9c04cf680 100644
--- a/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
@@ -51,7 +51,7 @@ S = "${WORKDIR}/git"
51# included in 4.16.1.3 51# included in 4.16.1.3
52CVE_CHECK_WHIETLIST += "CVE-2021-20271" 52CVE_CHECK_WHIETLIST += "CVE-2021-20271"
53 53
54DEPENDS = "libgcrypt db file popt xz bzip2 elfutils python3" 54DEPENDS = "libgcrypt file popt xz bzip2 elfutils python3"
55DEPENDS_append_class-native = " file-replacement-native bzip2-replacement-native" 55DEPENDS_append_class-native = " file-replacement-native bzip2-replacement-native"
56 56
57inherit autotools gettext pkgconfig python3native 57inherit autotools gettext pkgconfig python3native
@@ -74,11 +74,12 @@ EXTRA_OECONF_append_class-nativesdk = " --sysconfdir=/etc --disable-plugins"
74 74
75BBCLASSEXTEND = "native nativesdk" 75BBCLASSEXTEND = "native nativesdk"
76 76
77PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'inhibit', '', d)}" 77PACKAGECONFIG ??= "bdb ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'inhibit', '', d)}"
78# The inhibit plugin serves no purpose outside of the target 78# The inhibit plugin serves no purpose outside of the target
79PACKAGECONFIG_remove_class-native = "inhibit" 79PACKAGECONFIG_remove_class-native = "inhibit"
80PACKAGECONFIG_remove_class-nativesdk = "inhibit" 80PACKAGECONFIG_remove_class-nativesdk = "inhibit"
81 81
82PACKAGECONFIG[bdb] = "--enable-bdb,--disable-bdb,db"
82PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils" 83PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils"
83PACKAGECONFIG[inhibit] = "--enable-inhibit-plugin,--disable-inhibit-plugin,dbus" 84PACKAGECONFIG[inhibit] = "--enable-inhibit-plugin,--disable-inhibit-plugin,dbus"
84PACKAGECONFIG[rpm2archive] = "--with-archive,--without-archive,libarchive" 85PACKAGECONFIG[rpm2archive] = "--with-archive,--without-archive,libarchive"