meta-app-framework: make applaunchd polkit dependency explicit 20/29020/2
authorScott Murray <scott.murray@konsulko.com>
Thu, 15 Jun 2023 22:03:10 +0000 (18:03 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 16 Jun 2023 16:10:54 +0000 (16:10 +0000)
commitfb57c5f60bfb763daee663f9f6f318962edc962d
tree55efc18a9a06fffff248c4db11e9d272ce94bc1e
parentcce8856658ae4ab176fb242d6e8e9d702eb529f3
meta-app-framework: make applaunchd polkit dependency explicit

Since there seems to be no inherent dependency in the shipped systemd
default or polkit unit files with respect to polkit availability with
respect to network.target, we do seem to need to make applaunchd's
dependency on polkit explicit to guarantee systemd DBus API access
works.  As well, it seems worthwhile to enforce the systemd and polkit
DISTRO_FEATURES being present if someone attempts to build applaunchd,
so update the recipe to do so.

Bug-AGL: SPEC-4840

Change-Id: I1cc998ac7c6234de0bb857d4c4fda00d847e00bf
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29020
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>
meta-app-framework/recipes-core/applaunchd/applaunchd/applaunchd.service
meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb