udisks2: add REQUIRED_DISTRO_FEATURES for polkit
PATCH 1/2 udisks2: add REQUIRED_DISTRO_FEATURES for polkit
From: Mingli Yu <[email protected]>
After below commits to add polkit as a required distro feature:
97a1a55 polkit: add polkit as a required distro feature c049e02 polkit: inherit distro_features_check
Need to add REQUIRED_DISTRO_FEATURES for polkit to fix below error for these packages which depend on polkit:
$ bitbake udisk2 ERROR: Nothing PROVIDES 'polkit' (but /build/layers/meta-openembedded/meta-oe/recipes-support/udisks/udisks2_2.7.8.bb DEPENDS on or otherwise requires it)
Signed-off-by Mingli Yu <[email protected]>
--- meta-oe/recipes-support/udisks/udisks2_2.7.8.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/udisks/udisks2_2.7.8.bb +3 -1
@@ -27,7 +27,9 @@ S = "${WORKDIR}/git" CVE_PRODUCT = "udisks" -inherit autotools systemd gtk-doc gobject-introspection +inherit autotools systemd gtk-doc gobject-introspection distro_features_check + +REQUIRED_DISTRO_FEATURES = "polkit" EXTRA_OECONF = "--disable-man --disable-gtk-doc"
Signature · 1 line
2.7.4
PATCH 2/2 upower: add REQUIRED_DISTRO_FEATURES for polkit
From: Mingli Yu <[email protected]>
After below commits to add polkit as a required distro feature:
97a1a55 polkit: add polkit as a required distro feature c049e02 polkit: inherit distro_features_check
Need to add REQUIRED_DISTRO_FEATURES for polkit to fix below error for these packages which depend on polkit:
$ bitbake upower ERROR: Nothing PROVIDES 'polkit' (but /build/layers/meta-openembedded/meta-oe/recipes-support/upower/upower_0.99.7.bb DEPENDS on or otherwise requires it)
Signed-off-by Mingli Yu <[email protected]>
--- meta-oe/recipes-support/upower/upower_0.99.7.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/upower/upower_0.99.7.bb +3 -1
@@ -11,7 +11,9 @@ SRC_URI = " \ SRC_URI[md5sum] = "236bb439d9ff1151450b3d8582399532" SRC_URI[sha256sum] = "24bcc2f6ab25a2533bac70b587bcb019e591293076920f5b5e04bdedc140a401" -inherit autotools pkgconfig gettext gobject-introspection systemd +inherit autotools pkgconfig gettext gobject-introspection systemd distro_features_check + +REQUIRED_DISTRO_FEATURES = "polkit" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" PACKAGECONFIG[idevice] = "--with-idevice,--without-idevice,libimobiledevice libplist"
Signature · 1 line
2.7.4