diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-11-21 22:38:11 -0500 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-12-14 16:28:18 +0000 |
commit | 97170edc4b592d34755f1e456dfe233060b09883 (patch) | |
tree | 4e4ffdb14790f844e1d5b0817eedf6aab76fbe45 | |
parent | f07479e07e6b6e8eeb67d74974bd4b40cae7a6d8 (diff) |
agl-compositor: RDEPENDS fixes
Changes:
- Add the required xkeyboard-config RDEPENDS to the agl-compositor
recipe to avoid surprises if nothing else that pulls that in is
in an image.
- Move the agl-compositor RDEPENDS on polkit directly into the
recipe instead of getting indirectly via a meta-oe presence
driven addition to packagegroup-agl-graphical-weston. This is
more correct, avoids surprises if that packagegroup happens to
not be used, and will work better with a binary packagefeed.
The RDEPENDS is still conditional on the presence of "polkit" in
DISTRO_FEATURES, which seems a reasonable alternative to using
dynamic-layers.
Bug-AGL: SPEC-4619
Change-Id: I595f55a9d598b4a15fe345f50d1a7a203616dd15
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28184
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit f3046df0ebfcad301ec9da5dfda35b38b88b94d4)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28256
3 files changed, 2 insertions, 2 deletions
diff --git a/meta-agl-core/dynamic-layers/meta-oe/recipes-platform/packagegroups/packagegroup-agl-graphical-weston.bbappend b/meta-agl-core/dynamic-layers/meta-oe/recipes-platform/packagegroups/packagegroup-agl-graphical-weston.bbappend deleted file mode 100644 index 0db606679..000000000 --- a/meta-agl-core/dynamic-layers/meta-oe/recipes-platform/packagegroups/packagegroup-agl-graphical-weston.bbappend +++ /dev/null @@ -1 +0,0 @@ -require ${@bb.utils.contains('AGL_FEATURES', 'aglcore', 'packagegroup-agl-graphical-weston_aglcore.inc', '', d)} diff --git a/meta-agl-core/dynamic-layers/meta-oe/recipes-platform/packagegroups/packagegroup-agl-graphical-weston_aglcore.inc b/meta-agl-core/dynamic-layers/meta-oe/recipes-platform/packagegroups/packagegroup-agl-graphical-weston_aglcore.inc deleted file mode 100644 index 6167f459e..000000000 --- a/meta-agl-core/dynamic-layers/meta-oe/recipes-platform/packagegroups/packagegroup-agl-graphical-weston_aglcore.inc +++ /dev/null @@ -1 +0,0 @@ -RDEPENDS:${PN} += "polkit" diff --git a/meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb b/meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb index 338cc58cd..e69b684f3 100644 --- a/meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb +++ b/meta-agl-core/recipes-graphics/wayland/agl-compositor_git.bb @@ -34,6 +34,8 @@ FILES:${PN} = " \ RDEPENDS:${PN} += " \ agl-compositor-init \ + xkeyboard-config \ + ${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ ${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', 'waltham waltham-transmitter-plugin', '', d)} \ " |