[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH 2/2] quilt: Only package guard for the target
From:       "Saul Wold" <Saul.Wold () windriver ! com>
Date:       2021-08-31 14:35:26
Message-ID: 3401b75b-e098-40bd-7c07-b4a928a83c0d () windriver ! com
[Download RAW message or body]

On 8/30/21 1:19 PM, Richard Purdie wrote:
> On Fri, 2021-08-27 at 14:57 -0700, Saul Wold wrote:
>> The guard binary and documentaiton should only be be packaged for the
>> target class.
>>
>> Signed-off-by: Saul Wold <saul.wold@windriver.com>
>> ---
>>   meta/recipes-devtools/quilt/quilt.inc | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc
>> index f85de384d2..41d30e89aa 100644
>> --- a/meta/recipes-devtools/quilt/quilt.inc
>> +++ b/meta/recipes-devtools/quilt/quilt.inc
>> @@ -73,7 +73,7 @@ do_install_ptest() {
>>   	cp ${WORKDIR}/test.sh ${D}${PTEST_PATH}
>>   }
>>   
>> -PACKAGES += "guards guards-doc"
>> +PACKAGES:append:class-target += "guards guards-doc"
>>   
>>   FILES:${PN} = "${sysconfdir} ${datadir}/quilt \
>>                  ${bindir}/quilt ${libdir}/quilt"
> 
> Again, why?
> 
I was doing some testing with the create_spdx code and found a condition 
when I had built quilt (in this case) and then cleaned the quilt-native, 
when I rebuilt quilt-native I got the following error:

ERROR: quilt-native-0.66-r0 do_create_spdx: Recipe quilt-native is 
trying to create package guards which was already written by recipe 
quilt. This will cause corruption, please resolve this and only provide 
the package from one recipe or the other or only build one of the recipes.

> This should be fine/ignored for native/cross and applicable to nativesdk?
> 
Maybe the issue is actually in the create_spdx()  code,

Sau!

> Cheers,
> 
> Richard
> 

-- 
Sau!


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#155536): https://lists.openembedded.org/g/openembedded-core/message/155536
Mute This Topic: https://lists.openembedded.org/mt/85197235/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic