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.w...@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/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to