mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
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:
@@ -12,7 +12,7 @@ SRCREV = "8b4f523c4f8287d57f1a84a3a8216efe200c5fbf"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native useradd mime features_check
|
||||
inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native mime features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "polkit"
|
||||
|
||||
@@ -76,12 +76,3 @@ EXTRA_OEMESON = " \
|
||||
"
|
||||
|
||||
FILES:${PN} += "${libdir} ${datadir}"
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd"
|
||||
|
||||
do_install:append() {
|
||||
chmod 0700 ${D}/${datadir}/polkit-1/rules.d
|
||||
chown polkitd ${D}/${datadir}/polkit-1/rules.d
|
||||
chgrp root ${D}/${datadir}/polkit-1/rules.d
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user