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-gnome | |
| 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-gnome')
| -rw-r--r-- | meta-oe/recipes-gnome/malcontent/malcontent.bb | 11 |
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 | ||
| 18 | GIR_MESON_OPTION = "" | 18 | GIR_MESON_OPTION = "" |
| 19 | 19 | ||
| 20 | inherit meson pkgconfig gobject-introspection gettext features_check useradd | 20 | inherit meson pkgconfig gobject-introspection gettext features_check |
| 21 | 21 | ||
| 22 | REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection" | 22 | REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection" |
| 23 | 23 | ||
| @@ -26,15 +26,6 @@ PACKAGECONFIG[ui] = ",,,malcontent-ui" | |||
| 26 | 26 | ||
| 27 | EXTRA_OEMESON = "-Dui=disabled" | 27 | EXTRA_OEMESON = "-Dui=disabled" |
| 28 | 28 | ||
| 29 | USERADD_PACKAGES = "${PN}" | ||
| 30 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd" | ||
| 31 | |||
| 32 | do_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 | |||
| 38 | FILES:${PN} += " \ | 29 | FILES:${PN} += " \ |
| 39 | ${libdir}/security/pam_malcontent.so \ | 30 | ${libdir}/security/pam_malcontent.so \ |
| 40 | ${datadir}/accountsservice \ | 31 | ${datadir}/accountsservice \ |
