All of lore.kernel.org
 help / color / mirror / Atom feed
From: Armin Kuster <akuster808@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [warrior 02/10] polkit-group-rules: Fix error in do_rootfs for rpm package-manager
Date: Wed, 23 Oct 2019 09:13:47 -0700	[thread overview]
Message-ID: <626364981cd1ee5facf600b4b5bb9d083971e151.1571847041.git.akuster808@gmail.com> (raw)
In-Reply-To: <cover.1571847041.git.akuster808@gmail.com>

From: Andreas Müller <schnitzeltony@gmail.com>

* An issue in meta-mortsgna was reported. Discussion is found at [1]
* We do similar in meta-gnome's gvfs for same reason [2]
* This is a bugfix which should apply and work for many release-branches

Fixes:
| Error: Transaction check error:
|   file /etc/polkit-1/rules.d conflicts between attempted installs of polkit-group-rule-datetime-1.0-r0.cortexa7t2hf_neon_vfpv4 and polkit-0.115-r0.cortexa7t2hf_neon_vfpv4

[1] https://github.com/schnitzeltony/meta-mortsgna/issues/11
[2] https://github.com/openembedded/meta-openembedded/blob/fd1a0c9210b162ccb147e933984c755d32899efc/meta-gnome/recipes-gnome/gvfs/gvfs_1.41.2.bb#L72

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a47d38561249411449cc62ba878eb7c36916fe55)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-oe/recipes-extended/polkit/polkit-group-rule.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
index 06ab106..8ced8ab 100644
--- a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
+++ b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
@@ -8,6 +8,6 @@ inherit useradd
 
 do_install_prepend() {
     install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d
-    chown polkitd:polkitd ${D}${sysconfdir}/polkit-1/rules.d
+    chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d
 }
 USERADD_PARAM_${PN}_prepend = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd;"
-- 
2.7.4



  parent reply	other threads:[~2019-10-23 16:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23 16:13 [warrior 00/10] Patch review Armin Kuster
2019-10-23 16:13 ` [warrior 01/10] xfce4-panel: Draw icons/background properly when compositing is disabled Armin Kuster
2019-10-23 16:13 ` Armin Kuster [this message]
2019-10-23 16:13 ` [warrior 03/10] vlc: rework qt PACKAGECONFIG Armin Kuster
2019-10-23 16:13 ` [warrior 04/10] python3-twofish: Fix missing return statements in module stubs Armin Kuster
2019-10-23 16:13 ` [warrior 05/10] jsoncpp: add native BBCLASSEXTEND Armin Kuster
2019-10-23 16:13 ` [warrior 06/10] kconfig-frontends: Retrieve the Git repository from GitLab Armin Kuster
2019-10-23 16:13 ` [warrior 07/10] protobuf-c: fix race condition Armin Kuster
2019-10-23 16:13 ` [warrior 08/10] xorg-fonts-100dpi: Change License Custom -> MIT Armin Kuster
2019-10-23 16:13 ` [warrior 09/10] tcpdump: upgrade 4.9.2 -> 4.9.3 Armin Kuster
2019-10-23 16:13 ` [warrior 10/10] tcpdump: Delete unused patch Armin Kuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=626364981cd1ee5facf600b4b5bb9d083971e151.1571847041.git.akuster808@gmail.com \
    --to=akuster808@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.