Skip to contentSkip to conversation

phoronix-test-suite: add rconflict

PATCH In review [email protected] 3 participants 5 messages May 28, 2019 – May 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 phoronix-test-suite: add rconflict

From: Changqing Li <[email protected]>

phoronix-test-suite rdepend on lsb, lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one.

---
 .../recipes-benchmark/phoronix-test-suite/phoronix-test-suite_8.6.0.bb   | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_8.6.0.bb +1 -0
index 4c7b057..bdd6855 100644
@@ -30,6 +30,7 @@ SYSTEMD_AUTO_ENABLE = "disable"
 SYSTEMD_SERVICE_${PN} = "phoromatic-client.service phoromatic-server.service"
 
 RDEPENDS_${PN} += "bash python php-cli util-linux-lscpu os-release lsb"
+RCONFLICTS_${PN} = "initscripts-functions"
 
 FILES_${PN} += " \
     ${datadir}/phoronix-test-suite \
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 syslog-ng: add rconflict for package syslog-ng-libs

From: Changqing Li <[email protected]>

syslog-ng-libs also have conflicts

---
 meta-oe/recipes-support/syslog-ng/syslog-ng.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/syslog-ng/syslog-ng.inc +1 -0
index b52deff..c183f05 100644
@@ -127,6 +127,7 @@ CONFFILES_${PN} = "${sysconfdir}/${BPN}.conf ${sysconfdir}/scl.conf"
 RDEPENDS_${PN} += " ${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
 
 RCONFLICTS_${PN} = "busybox-syslog sysklogd rsyslog"
+RCONFLICTS_${PN}-libs = "busybox-syslog sysklogd rsyslog"
 
 RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
Signature · 1 line
2.7.4
#2 lore raw
In reply to [email protected]
Quoted 6 lines · On Tue, May 28, 2019 at 10:51:58AM +0800, [email protected] wrote:

From: Changqing Li <[email protected]>

phoronix-test-suite rdepend on lsb, lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one.
...

In what situation is this needed?

It sounds wrong if rconflict from lower-level packages have to be replicated in higher-level packages, and is likely to break in the future.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#3 lore raw
Quoted 7 lines · Adrian Bunk
Quoted 6 lines · On Tue, May 28, 2019 at 10:51:58AM +0800, [email protected] wrote:

From: Changqing Li <[email protected]>

phoronix-test-suite rdepend on lsb, lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one.
...

Quoted 8 lines

In what situation is this needed?

It sounds wrong if rconflict from lower-level packages have to be replicated in higher-level packages, and is likely to break in the future.

cu
Adrian

My original idea is that,  by add this info,  we can get the rconflict  info when parse recipe.

But, you are right,  this  is not good for an indirect rconflicts.

@Khem,  I noticed this is on master-next,  so maybe this patch 1/2 needed to be reverted.  Sorry for the inconvenience.

Signature · 3 lines
BRs

Sandy(Li Changqing)
#4 lore raw
Quoted 18 lines · Changqing Li
Quoted 7 lines · Adrian Bunk
Quoted 6 lines · On Tue, May 28, 2019 at 10:51:58AM +0800, [email protected] wrote:

From: Changqing Li <[email protected]>

phoronix-test-suite rdepend on lsb, lsb rdepend on lsbinitscripts, lsbinitscripts rconflict with initscripts-functions. so also add rconflict for this one.
...

Quoted 8 lines

In what situation is this needed?

It sounds wrong if rconflict from lower-level packages have to be replicated in higher-level packages, and is likely to break in the future.

cu
Adrian

Quoted 9 lines

My original idea is that, by add this info, we can get the rconflict info when parse recipe.

But, you are right, this is not good for an indirect rconflicts.

@Khem, I noticed this is on master-next, so maybe this patch 1/2 needed to be reverted. Sorry for the inconvenience.

thanks for letting me know, I have dropped it.

Quoted 5 lines

--
BRs

Sandy(Li Changqing)