diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-05-24 18:14:35 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-05-25 08:56:32 -0700 |
| commit | 046ee4bb3061214a794d7be6d324a79d92053dfa (patch) | |
| tree | 5582156bb06707d6c39348ca8321059813ea2fe6 | |
| parent | dac933e4e0226e779382543660732ef3e02910bd (diff) | |
| download | meta-openembedded-046ee4bb3061214a794d7be6d324a79d92053dfa.tar.gz | |
firewalld: add features_check on gobject-introspection-data
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb index 987cc640e1..8efbd39f74 100644 --- a/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb +++ b/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb | |||
| @@ -15,7 +15,9 @@ SRC_URI[sha256sum] = "28fd90e88bda0dfd460f370f353474811b2e295d7eb27f0d7d18ffa3d7 | |||
| 15 | # glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from gsettings.m4 | 15 | # glib-2.0-native is needed for GSETTINGS_RULES autoconf macro from gsettings.m4 |
| 16 | DEPENDS = "intltool-native glib-2.0-native nftables" | 16 | DEPENDS = "intltool-native glib-2.0-native nftables" |
| 17 | 17 | ||
| 18 | inherit gettext autotools-brokensep bash-completion pkgconfig python3native python3-dir gsettings systemd update-rc.d ptest | 18 | inherit gettext autotools-brokensep bash-completion pkgconfig python3native python3-dir gsettings systemd update-rc.d ptest features_check |
| 19 | |||
| 20 | REQUIRED_DISTRO_FEATURES = "gobject-introspection" | ||
| 19 | 21 | ||
| 20 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 22 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 21 | PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd" | 23 | PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd" |
