* this directory is created only when modem-gps-source option is enabled in meson * fix indentation to use 4 spaces instead of tabs
Signed-off-by: Martin Jansa <[email protected]> --- meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb index 61b37cd9e8..798a9c16b6 100644 --- a/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb +++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb @@ -38,9 +38,11 @@ USERADD_PACKAGES = "${PN}" USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd" do_install:append() { - #Fix up permissions on polkit rules.d to work with rpm4 constraints - chmod 700 ${D}/${datadir}/polkit-1/rules.d - chown polkitd:root ${D}/${datadir}/polkit-1/rules.d + if ${@bb.utils.contains('PACKAGECONFIG', 'modem-gps', 'true', 'false', d)}; then + # Fix up permissions on polkit rules.d to work with rpm4 constraints + chmod 700 ${D}/${datadir}/polkit-1/rules.d + chown polkitd:root ${D}/${datadir}/polkit-1/rules.d + fi } FILES:${PN} += " \ -- 2.39.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#100126): https://lists.openembedded.org/g/openembedded-devel/message/100126 Mute This Topic: https://lists.openembedded.org/mt/95782551/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
