diff options
| author | Joshua Watt <JPEWhacker@gmail.com> | 2021-11-18 15:34:21 -0600 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-11-18 14:22:19 -0800 |
| commit | 8ff9bc40ef8bb7241697af1119e1542b23004e91 (patch) | |
| tree | ac718f76c36bc38b314989997a21a257bd6d73eb | |
| parent | 23b5517f82951350bc96f664e3ff9ad234888837 (diff) | |
| download | meta-openembedded-8ff9bc40ef8bb7241697af1119e1542b23004e91.tar.gz | |
gnome-control-center: Fixup polkit directory permissions
Fixes up the permissions of the polkit directory to match other recipes,
otherwise they conflict at package install time
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_41.1.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_41.1.bb b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_41.1.bb index 80d49d95b1..79fa20e41e 100644 --- a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_41.1.bb +++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_41.1.bb | |||
| @@ -44,6 +44,14 @@ EXTRA_OEMESON = " \ | |||
| 44 | -Dcheese=false \ | 44 | -Dcheese=false \ |
| 45 | " | 45 | " |
| 46 | 46 | ||
| 47 | do_install:append() { | ||
| 48 | # If polkit is setup fixup permissions and ownership | ||
| 49 | if [ -d ${D}${datadir}/polkit-1/rules.d ]; then | ||
| 50 | chmod 700 ${D}${datadir}/polkit-1/rules.d | ||
| 51 | chown polkitd:root ${D}${datadir}/polkit-1/rules.d | ||
| 52 | fi | ||
| 53 | } | ||
| 54 | |||
| 47 | FILES:${PN} += " \ | 55 | FILES:${PN} += " \ |
| 48 | ${datadir}/dbus-1 \ | 56 | ${datadir}/dbus-1 \ |
| 49 | ${datadir}/gnome-shell \ | 57 | ${datadir}/gnome-shell \ |
