[thud] target-sdk-provides-dummy: Extend to -dev and -src packages

Submitted by Max Krummenacher on March 9, 2019, 6:50 p.m. | Patch ID: 159450

Details

Message ID 20190309185007.1568-1-max.krummenacher@toradex.com
State Thud Next
Delegated to: Armin Kuster
Headers show

Commit Message

Max Krummenacher March 9, 2019, 6:50 p.m.
From: Richard Purdie <richard.purdie@linuxfoundation.org>

This avoids errors when running populate_sdk under opkg:

 * Problem 1/1:
 *   - package busybox-dev-1.30.1-r0.core2-64 requires busybox = 1.30.1-r0, but none of the providers can be installed
 *
 * Solution 1:
 *   - allow deinstallation of target-sdk-provides-dummy-1.0-r0.sdk-provides-dummy-target

 * Solution 2:
 *   - do not ask to install a package providing busybox-dev

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33d2cde3be4d25389cbea07064ffbc7b2f74273e)
---
 meta/recipes-core/meta/target-sdk-provides-dummy.bb | 10 ++++++++++
 1 file changed, 10 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/meta/target-sdk-provides-dummy.bb b/meta/recipes-core/meta/target-sdk-provides-dummy.bb
index edf07c4a23..e7bf2ac632 100644
--- a/meta/recipes-core/meta/target-sdk-provides-dummy.bb
+++ b/meta/recipes-core/meta/target-sdk-provides-dummy.bb
@@ -2,9 +2,17 @@  DUMMYARCH = "sdk-provides-dummy-target"
 
 DUMMYPROVIDES = "\
     busybox \
+    busybox-dev \
+    busybox-src \
     coreutils \
+    coreutils-dev \
+    coreutils-src \
     bash \
+    bash-dev \
+    bash-src \
     perl \
+    perl-dev \
+    perl-src \
     perl-module-re \
     perl-module-strict \
     perl-module-vars \
@@ -33,6 +41,8 @@  DUMMYPROVIDES = "\
     /usr/bin/env \
     /usr/bin/perl \
     pkgconfig \
+    pkgconfig-dev \
+    pkgconfig-src \
 "
 
 require dummy-sdk-package.inc

Comments

Sean Nyekjaer March 19, 2019, 2:12 p.m.
kind ping

BR
/Sean

On 09/03/2019 19.50, Max Krummenacher wrote:
> From: Richard Purdie <richard.purdie@linuxfoundation.org>
> 
> This avoids errors when running populate_sdk under opkg:
> 
>   * Problem 1/1:
>   *   - package busybox-dev-1.30.1-r0.core2-64 requires busybox = 1.30.1-r0, but none of the providers can be installed
>   *
>   * Solution 1:
>   *   - allow deinstallation of target-sdk-provides-dummy-1.0-r0.sdk-provides-dummy-target
> 
>   * Solution 2:
>   *   - do not ask to install a package providing busybox-dev
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> (cherry picked from commit 33d2cde3be4d25389cbea07064ffbc7b2f74273e)
> ---
>   meta/recipes-core/meta/target-sdk-provides-dummy.bb | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/meta/recipes-core/meta/target-sdk-provides-dummy.bb b/meta/recipes-core/meta/target-sdk-provides-dummy.bb
> index edf07c4a23..e7bf2ac632 100644
> --- a/meta/recipes-core/meta/target-sdk-provides-dummy.bb
> +++ b/meta/recipes-core/meta/target-sdk-provides-dummy.bb
> @@ -2,9 +2,17 @@ DUMMYARCH = "sdk-provides-dummy-target"
>   
>   DUMMYPROVIDES = "\
>       busybox \
> +    busybox-dev \
> +    busybox-src \
>       coreutils \
> +    coreutils-dev \
> +    coreutils-src \
>       bash \
> +    bash-dev \
> +    bash-src \
>       perl \
> +    perl-dev \
> +    perl-src \
>       perl-module-re \
>       perl-module-strict \
>       perl-module-vars \
> @@ -33,6 +41,8 @@ DUMMYPROVIDES = "\
>       /usr/bin/env \
>       /usr/bin/perl \
>       pkgconfig \
> +    pkgconfig-dev \
> +    pkgconfig-src \
>   "
>   
>   require dummy-sdk-package.inc
>