From: Denys Dmytriyenko <[email protected]> Being able to run populate_sdk task against minimal and base images has always been supported by Arago, though needed to get fixed once in a while, e.g.: https://git.yoctoproject.org/meta-arago/commit/?id=d47710c8219e036cb7005bc0a22099e63c5e1901
This time around the issue is due to upstream packages lmbench and mbedtls both installing /usr/bin/hello binary and causing a conflict when the files collide in the sysroot. The fix has been submitted upstream to meta-oe and meta-networking layers of the meta-openembedded repo: https://patchwork.yoctoproject.org/project/oe/list/?series=10748 For now add local bbappends with the same fix, which can be removed when the fix is merged upstream and backported to kirkstone. While at it, also look into the conflict caused by matrix launcher packaging function being reused by multiple subpackages, resulting in lots of file conflicts between them. There's a lot of rework required for the matrix (and it might get moved to another layer altogether), but for now just cutoff the reverse dependency from development -dev packages. With this simple change it is now possible to run populate_sdk task even against the default full/graphics tisdk-default-image. Signed-off-by: Denys Dmytriyenko <[email protected]> --- .../recipes-benchmark/lmbench/lmbench_%.bbappend | 2 ++ .../recipes-connectivity/mbedtls/mbedtls_%.bbappend | 4 ++++ meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 meta-arago-distro/recipes-benchmark/lmbench/lmbench_%.bbappend create mode 100644 meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend diff --git a/meta-arago-distro/recipes-benchmark/lmbench/lmbench_%.bbappend b/meta-arago-distro/recipes-benchmark/lmbench/lmbench_%.bbappend new file mode 100644 index 00000000..96dd2010 --- /dev/null +++ b/meta-arago-distro/recipes-benchmark/lmbench/lmbench_%.bbappend @@ -0,0 +1,2 @@ +ALTERNATIVE:${PN} += "hello" +ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" diff --git a/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend b/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend new file mode 100644 index 00000000..f3c16796 --- /dev/null +++ b/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend @@ -0,0 +1,4 @@ +inherit update-alternatives + +ALTERNATIVE:${PN}-programs += "hello" +ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello" diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc index 2bcc908b..adb998e1 100644 --- a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc +++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc @@ -38,3 +38,6 @@ do_install:append(){ # other appends. cd - } + +RDEPENDS:${PN}-dev = "" +RRECOMMENDS:${PN}-dev = "" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14234): https://lists.yoctoproject.org/g/meta-arago/message/14234 Mute This Topic: https://lists.yoctoproject.org/mt/97241511/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/leave/10763299/21656/89520264/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
