[OE-core] [PATCH 3/5] bootchart2: add initscripts-functions as rconflict
Changqing Li
changqing.li at windriver.com
Wed May 29 02:45:01 UTC 2019
On 5/29/19 7:13 AM, Richard Purdie wrote:
> On Tue, 2019-05-28 at 12:01 +0800, changqing.li at windriver.com wrote:
>> From: Changqing Li <changqing.li at windriver.com>
>>
>> bootchart2 rdepend on lsb, lsb rdepend on lsbinitscripts,
>> lsbinitscripts rconflict with initscripts-functions. so also add
>> rconflict for this one.
>>
>> Signed-off-by: Changqing Li <changqing.li at windriver.com>
>> ---
>> meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
>> b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
>> index 396d0ec..36092e6 100644
>> --- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
>> +++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb
>> @@ -143,6 +143,7 @@ RDEPENDS_pybootchartgui = "python3-pycairo
>> python3-compression python3-image pyt
>> RDEPENDS_${PN}_class-target += "${@bb.utils.contains('DISTRO_FEATURE
>> S', 'sysvinit', 'sysvinit-pidof', 'procps', d)}"
>> RDEPENDS_${PN}_class-target += "lsb"
>> DEPENDS_append_class-native = " python3-pycairo-native"
>> +RCONFLICTS_${PN}_class-target = "initscripts-functions"
> If lsb and initscripts-functions have the conflict, why do we need this
> in bootchart2 as well?
>
> Cheers,
>
> Richard
Yes, this is wrong for indirect rconflict, especially that, this maybe
break someday when lsb changed. Same as lsb/lsbtest in patch 4/5 and 5/5.
For patch 1/5, 2/5, it is direct rconflict. It will also report
rconflict during do_rootfs when both are installed if only one package
set rconflict.
but I think it is better to set rconflict for both packages, in this
way, when user parse the recipe to get the recipe info, it can get
this rconflict
info.
>
>
--
BRs
Sandy(Li Changqing)
More information about the Openembedded-core
mailing list