diff options
author | Markus Volk <f_l_k@t-online.de> | 2024-08-14 10:30:09 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-09-01 15:54:30 -0700 |
commit | 84d6e138cb558cea9155e5a392e2ff7647e2e688 (patch) | |
tree | 816a1e846cecedb61817337825a37c59fcd7edd8 /meta-oe/recipes-navigation/geoclue | |
parent | c8f4a786402063d160fa16284c16c8fca8165a5a (diff) | |
download | meta-openembedded-84d6e138cb558cea9155e5a392e2ff7647e2e688.tar.gz |
cleanup after polkit fix
This commit removes the need to fix polkit permissions:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=d5e90541f8e35916abc930b2da6de037b23d51a1
That allows to do some cleanup
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation/geoclue')
-rw-r--r-- | meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb index 9fcd1e6f1..5d247fb9c 100644 --- a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb +++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb | |||
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bdfdd4986a0853eb84eeba85f9d0c4d6" | |||
10 | 10 | ||
11 | DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" | 11 | DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" |
12 | 12 | ||
13 | inherit meson pkgconfig gtk-doc gobject-introspection vala useradd | 13 | inherit meson pkgconfig gtk-doc gobject-introspection vala |
14 | 14 | ||
15 | SRCREV = "8a24f60969d4c235d9918796c38a6a9c42e10131" | 15 | SRCREV = "8a24f60969d4c235d9918796c38a6a9c42e10131" |
16 | SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;branch=master \ | 16 | SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;branch=master \ |
@@ -36,17 +36,6 @@ EXTRA_OEMESON += " \ | |||
36 | -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \ | 36 | -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \ |
37 | " | 37 | " |
38 | 38 | ||
39 | USERADD_PACKAGES = "${PN}" | ||
40 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd" | ||
41 | |||
42 | do_install:append() { | ||
43 | if ${@bb.utils.contains('PACKAGECONFIG', 'modem-gps', 'true', 'false', d)}; then | ||
44 | # Fix up permissions on polkit rules.d to work with rpm4 constraints | ||
45 | chmod 700 ${D}/${datadir}/polkit-1/rules.d | ||
46 | chown polkitd:root ${D}/${datadir}/polkit-1/rules.d | ||
47 | fi | ||
48 | } | ||
49 | |||
50 | FILES:${PN} += " \ | 39 | FILES:${PN} += " \ |
51 | ${datadir}/dbus-1/system-services \ | 40 | ${datadir}/dbus-1/system-services \ |
52 | ${datadir}/polkit-1/rules.d \ | 41 | ${datadir}/polkit-1/rules.d \ |