diff options
Diffstat (limited to 'meta-oe/recipes-gnome/malcontent/malcontent.bb')
-rw-r--r-- | meta-oe/recipes-gnome/malcontent/malcontent.bb | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/meta-oe/recipes-gnome/malcontent/malcontent.bb b/meta-oe/recipes-gnome/malcontent/malcontent.bb index c4bc50fa8e..9da95329a8 100644 --- a/meta-oe/recipes-gnome/malcontent/malcontent.bb +++ b/meta-oe/recipes-gnome/malcontent/malcontent.bb | |||
@@ -17,26 +17,17 @@ 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 | ||
24 | PACKAGECONFIG ?= "ui" | 24 | PACKAGECONFIG ?= "ui" |
25 | PACKAGECONFIG[ui] = ",,,malcontent-ui" | 25 | PACKAGECONFIG[ui] = ",,,malcontent-ui" |
26 | 26 | ||
27 | EXTRA_OEMESON = "-Dui=disabled" | 27 | EXTRA_OEMESON = "-Dui=disabled -Dpamlibdir=${base_libdir}/security" |
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 | 28 | ||
38 | FILES:${PN} += " \ | 29 | FILES:${PN} += " \ |
39 | ${libdir}/security/pam_malcontent.so \ | 30 | ${base_libdir}/security/pam_malcontent.so \ |
40 | ${datadir}/accountsservice \ | 31 | ${datadir}/accountsservice \ |
41 | ${datadir}/help \ | 32 | ${datadir}/help \ |
42 | ${datadir}/dbus-1 \ | 33 | ${datadir}/dbus-1 \ |