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>
This commit is contained in:
Markus Volk
2024-08-14 10:30:09 +02:00
committed by Khem Raj
parent c8f4a78640
commit 84d6e138cb
8 changed files with 8 additions and 86 deletions
+1 -10
View File
@@ -17,7 +17,7 @@ DEPENDS = " \
GIR_MESON_OPTION = ""
inherit meson pkgconfig gobject-introspection gettext features_check useradd
inherit meson pkgconfig gobject-introspection gettext features_check
REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection"
@@ -26,15 +26,6 @@ PACKAGECONFIG[ui] = ",,,malcontent-ui"
EXTRA_OEMESON = "-Dui=disabled"
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
}
FILES:${PN} += " \
${libdir}/security/pam_malcontent.so \
${datadir}/accountsservice \