X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-app-framework%2Frecipes-core%2Fapplaunchd%2Fapplaunchd_git.bb;h=c1bafad8e2d7267e6aee82aa0295e030b954ba86;hb=c05762b781b5fb7b4f6139ea1a6d5a9b9d72de7a;hp=3b2265df02d75724592c1e1a672b8f4401f15816;hpb=8b52379e01bc2531e58ec489b08f0ec97b85f879;p=AGL%2Fmeta-agl.git diff --git a/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb b/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb index 3b2265df0..c1bafad8e 100644 --- a/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb +++ b/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb @@ -25,11 +25,20 @@ SRC_URI = " \ file://no-network.conf \ file://private-tmp.conf \ " -SRCREV = "7a3e870a8349d43a4838604db2c28140c2f76c9f" +SRCREV = "c32fe42f40d0af8b31b6113a3140f52b83be7769" S = "${WORKDIR}/git" -inherit meson pkgconfig systemd +inherit meson pkgconfig systemd useradd features_check + +REQUIRED_DISTRO_FEATURES = "systemd polkit" + +USERADD_PACKAGES = "${PN}" +USERADDEXTENSION = "useradd-staticids" +GROUPADD_PARAM:${PN} = "-g 1003 applaunchd ; " +USERADD_PARAM:${PN} = "\ + -g 1003 -u 1003 -o -d / -K PASS_MAX_DAYS=-1 applaunchd ; \ +" SYSTEMD_SERVICE:${PN} = "applaunchd.service" @@ -58,7 +67,7 @@ FILES:${PN}-template-agl-app-web = "${systemd_system_unitdir}/agl-app-web@.servi FILES:${PN}-template-agl-app-flutter = "${systemd_system_unitdir}/agl-app-flutter@.service" RDEPENDS:${PN} += " \ - agl-session \ + agl-users \ polkit-rule-agl-app \ "