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-gnome/dynamic-layers | |
| 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-gnome/dynamic-layers')
| -rw-r--r-- | meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_46.2.bb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_46.2.bb b/meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_46.2.bb index 59ae9383db..a16a02aa7b 100644 --- a/meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_46.2.bb +++ b/meta-gnome/dynamic-layers/meta-security/recipes-gnome/gnome-remote-desktop/gnome-remote-desktop_46.2.bb | |||
| @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
| 4 | 4 | ||
| 5 | GNOMEBASEBUILDCLASS = "meson" | 5 | GNOMEBASEBUILDCLASS = "meson" |
| 6 | 6 | ||
| 7 | inherit gnomebase gettext gsettings features_check useradd | 7 | inherit gnomebase gettext gsettings features_check |
| 8 | 8 | ||
| 9 | REQUIRED_DISTRO_FEATURES = "opengl polkit" | 9 | REQUIRED_DISTRO_FEATURES = "opengl polkit" |
| 10 | 10 | ||
| @@ -36,15 +36,5 @@ PACKAGECONFIG[vnc] = "-Dvnc=true,-Dvnc=false,libvncserver" | |||
| 36 | PACKAGECONFIG[rdp] = "-Drdp=true,-Drdp=false,freerdp3 fuse3 libxkbcommon" | 36 | PACKAGECONFIG[rdp] = "-Drdp=true,-Drdp=false,freerdp3 fuse3 libxkbcommon" |
| 37 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd" | 37 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd" |
| 38 | 38 | ||
| 39 | USERADD_PACKAGES = "${PN}" | ||
| 40 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd" | ||
| 41 | |||
| 42 | do_install:append() { | ||
| 43 | if [ -d ${D}${datadir}/polkit-1/rules.d ]; then | ||
| 44 | chmod 700 ${D}${datadir}/polkit-1/rules.d | ||
| 45 | chown polkitd:root ${D}${datadir}/polkit-1/rules.d | ||
| 46 | fi | ||
| 47 | } | ||
| 48 | |||
| 49 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" | 39 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" |
| 50 | FILES:${PN} += "${systemd_user_unitdir} ${systemd_system_unitdir} ${datadir} ${libdir}/sysusers.d ${libdir}/tmpfiles.d" | 40 | FILES:${PN} += "${systemd_user_unitdir} ${systemd_system_unitdir} ${datadir} ${libdir}/sysusers.d ${libdir}/tmpfiles.d" |
