summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-gnome
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2024-08-14 10:30:09 +0200
committerKhem Raj <raj.khem@gmail.com>2024-09-01 15:54:30 -0700
commit84d6e138cb558cea9155e5a392e2ff7647e2e688 (patch)
tree816a1e846cecedb61817337825a37c59fcd7edd8 /meta-oe/recipes-gnome
parentc8f4a786402063d160fa16284c16c8fca8165a5a (diff)
downloadmeta-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-gnome')
-rw-r--r--meta-oe/recipes-gnome/malcontent/malcontent.bb11
1 files changed, 1 insertions, 10 deletions
diff --git a/meta-oe/recipes-gnome/malcontent/malcontent.bb b/meta-oe/recipes-gnome/malcontent/malcontent.bb
index c4bc50fa8e..b30d85080b 100644
--- a/meta-oe/recipes-gnome/malcontent/malcontent.bb
+++ b/meta-oe/recipes-gnome/malcontent/malcontent.bb
@@ -17,7 +17,7 @@ DEPENDS = " \
17 17
18GIR_MESON_OPTION = "" 18GIR_MESON_OPTION = ""
19 19
20inherit meson pkgconfig gobject-introspection gettext features_check useradd 20inherit meson pkgconfig gobject-introspection gettext features_check
21 21
22REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection" 22REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection"
23 23
@@ -26,15 +26,6 @@ PACKAGECONFIG[ui] = ",,,malcontent-ui"
26 26
27EXTRA_OEMESON = "-Dui=disabled" 27EXTRA_OEMESON = "-Dui=disabled"
28 28
29USERADD_PACKAGES = "${PN}"
30USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd"
31
32do_install:append() {
33 # Fix up permissions on polkit rules.d to work with rpm4 constraints
34 chmod 700 ${D}/${datadir}/polkit-1/rules.d
35 chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
36}
37
38FILES:${PN} += " \ 29FILES:${PN} += " \
39 ${libdir}/security/pam_malcontent.so \ 30 ${libdir}/security/pam_malcontent.so \
40 ${datadir}/accountsservice \ 31 ${datadir}/accountsservice \