X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-app-framework%2Frecipes-core%2Fapplaunchd%2Fapplaunchd_git.bb;h=5c2036a782b8fc5c646b87fbd9a35bccca0a5829;hb=b98ee1af003b2c98ba29836269a1ae1d9ebf56ba;hp=2457b67d1943765754f69a229d9809b3cbfc2c61;hpb=bbed78102412173a8aac6365d9eddeac819987a6;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 2457b67d1..5c2036a78 100644 --- a/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb +++ b/meta-app-framework/recipes-core/applaunchd/applaunchd_git.bb @@ -8,21 +8,37 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" DEPENDS = " \ glib-2.0 \ glib-2.0-native \ + systemd \ " -PV = "1.0+git${SRCPV}" +PV = "2.0+git${SRCPV}" SRC_URI = " \ - git://gerrit.automotivelinux.org/gerrit/src/applaunchd;protocol=https;branch=${AGL_BRANCH} \ - " -SRCREV = "c84836ec5ddaf2d0e91c46713475c35652bb540f" + git://gerrit.automotivelinux.org/gerrit/src/applaunchd;protocol=https;branch=${AGL_BRANCH} \ + file://agl-app@.service \ + file://no-network.conf \ + file://private-tmp.conf \ +" +SRCREV = "efbd734aca8b813710d7564d79696b1cf150a88c" -S = "${WORKDIR}/git" +S = "${WORKDIR}/git" inherit meson pkgconfig +do_install:append() { + # Install generic template for all agl-app services + mkdir -p ${D}${sysconfdir}/systemd/system/ + install -m 644 ${WORKDIR}/agl-app@.service ${D}${sysconfdir}/systemd/system/ + + # Install individual sandboxing overrides/drop-ins to be used by apps + mkdir -p ${D}${sysconfdir}/systemd/sandboxing/ + install -m 644 ${WORKDIR}/no-network.conf ${D}${sysconfdir}/systemd/sandboxing/ + install -m 644 ${WORKDIR}/private-tmp.conf ${D}${sysconfdir}/systemd/sandboxing/ +} + FILES:${PN} += " ${datadir}/dbus-1/" RDEPENDS:${PN} += " \ agl-session \ + polkit-rule-agl-app \ "