All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init
@ 2019-05-29  9:35 changqing.li
  2019-05-29  9:35 ` [PATCH 1/3] tiny-init: add rconflicts changqing.li
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: changqing.li @ 2019-05-29  9:35 UTC (permalink / raw)
  To: openembedded-core

From: Changqing Li <changqing.li@windriver.com>


Changqing Li (3):
  tiny-init: add rconflicts
  resolvconf: add rconflicts
  systemd: add rconflicts

 meta-poky/recipes-core/tiny-init/tiny-init.bb           | 1 +
 meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb | 1 +
 meta/recipes-core/systemd/systemd_242.bb                | 2 ++
 3 files changed, 4 insertions(+)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/3] tiny-init: add rconflicts
  2019-05-29  9:35 [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init changqing.li
@ 2019-05-29  9:35 ` changqing.li
  2019-05-29  9:35 ` [PATCH 2/3] resolvconf: " changqing.li
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: changqing.li @ 2019-05-29  9:35 UTC (permalink / raw)
  To: openembedded-core

From: Changqing Li <changqing.li@windriver.com>

add rconflicts since error during do_rootfs:
file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta-poky/recipes-core/tiny-init/tiny-init.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-poky/recipes-core/tiny-init/tiny-init.bb b/meta-poky/recipes-core/tiny-init/tiny-init.bb
index 4d4e34d..44c8e1b 100644
--- a/meta-poky/recipes-core/tiny-init/tiny-init.bb
+++ b/meta-poky/recipes-core/tiny-init/tiny-init.bb
@@ -28,3 +28,4 @@ do_install() {
 }
 
 FILES_${PN} = "/init ${sysconfdir}/rc.local.sample"
+RCONFLICTS_${PN} = "systemd"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] resolvconf: add rconflicts
  2019-05-29  9:35 [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init changqing.li
  2019-05-29  9:35 ` [PATCH 1/3] tiny-init: add rconflicts changqing.li
@ 2019-05-29  9:35 ` changqing.li
  2019-05-29  9:35 ` [PATCH 3/3] systemd: " changqing.li
  2019-05-29 12:27 ` [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init Adrian Bunk
  3 siblings, 0 replies; 6+ messages in thread
From: changqing.li @ 2019-05-29  9:35 UTC (permalink / raw)
  To: openembedded-core

From: Changqing Li <changqing.li@windriver.com>

add rconflicts since error during do_rootfs:
file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb
index 8550177..7fa13ac 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb
@@ -65,3 +65,4 @@ pkg_postinst_${PN} () {
 }
 
 FILES_${PN} += "${base_libdir}/${BPN}"
+RCONFLICTS_${PN} = "systemd"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] systemd: add rconflicts
  2019-05-29  9:35 [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init changqing.li
  2019-05-29  9:35 ` [PATCH 1/3] tiny-init: add rconflicts changqing.li
  2019-05-29  9:35 ` [PATCH 2/3] resolvconf: " changqing.li
@ 2019-05-29  9:35 ` changqing.li
  2019-05-29 12:27 ` [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init Adrian Bunk
  3 siblings, 0 replies; 6+ messages in thread
From: changqing.li @ 2019-05-29  9:35 UTC (permalink / raw)
  To: openembedded-core

From: Changqing Li <changqing.li@windriver.com>

add rconflicts since error during do_rootfs:
file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586
file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta/recipes-core/systemd/systemd_242.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb
index 93a23dd..39ac2f0 100644
--- a/meta/recipes-core/systemd/systemd_242.bb
+++ b/meta/recipes-core/systemd/systemd_242.bb
@@ -603,6 +603,8 @@ FILES_udev += "${base_sbindir}/udevd \
 
 FILES_udev-hwdb = "${rootlibexecdir}/udev/hwdb.d"
 
+RCONFLICTS_${PN} = "resolvconf tiny-init"
+
 INITSCRIPT_PACKAGES = "udev"
 INITSCRIPT_NAME_udev = "systemd-udevd"
 INITSCRIPT_PARAMS_udev = "start 03 S ."
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init
  2019-05-29  9:35 [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init changqing.li
                   ` (2 preceding siblings ...)
  2019-05-29  9:35 ` [PATCH 3/3] systemd: " changqing.li
@ 2019-05-29 12:27 ` Adrian Bunk
  2019-05-30  5:23   ` Changqing Li
  3 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2019-05-29 12:27 UTC (permalink / raw)
  To: changqing.li; +Cc: openembedded-core

On Wed, May 29, 2019 at 05:35:04PM +0800, changqing.li@windriver.com wrote:
> From: Changqing Li <changqing.li@windriver.com>
> 
> 
> Changqing Li (3):
>...
>   resolvconf: add rconflicts
>   systemd: add rconflicts
>...

This is only a conflict if PACKAGECONFIG[resolved] is enabled in systemd,
other configurations should be fine.

cu
Adrian

-- 

       "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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init
  2019-05-29 12:27 ` [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init Adrian Bunk
@ 2019-05-30  5:23   ` Changqing Li
  0 siblings, 0 replies; 6+ messages in thread
From: Changqing Li @ 2019-05-30  5:23 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: openembedded-core


On 5/29/19 8:27 PM, Adrian Bunk wrote:
> On Wed, May 29, 2019 at 05:35:04PM +0800, changqing.li@windriver.com wrote:
>> From: Changqing Li <changqing.li@windriver.com>
>>
>>
>> Changqing Li (3):
>> ...
>>    resolvconf: add rconflicts
>>    systemd: add rconflicts
>> ...
> This is only a conflict if PACKAGECONFIG[resolved] is enabled in systemd,
> other configurations should be fine.
>
> cu
> Adrian

Thanks.  yes,  only when enable resolved,  package resolvconf will 
conflict with systemd.

I will send a v2.

-- 
BRs

Sandy(Li Changqing)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-30  5:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-29  9:35 [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init changqing.li
2019-05-29  9:35 ` [PATCH 1/3] tiny-init: add rconflicts changqing.li
2019-05-29  9:35 ` [PATCH 2/3] resolvconf: " changqing.li
2019-05-29  9:35 ` [PATCH 3/3] systemd: " changqing.li
2019-05-29 12:27 ` [PATCH 0/3] add rconflicts for systemd/resolvconf/tiny-init Adrian Bunk
2019-05-30  5:23   ` Changqing Li

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.