diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-05 17:31:32 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-03 12:35:54 +0000 |
| commit | d4e27863f3874fb7dc543eed8dcf6a8c4d146fb5 (patch) | |
| tree | d4684c6c53d28392daa3cb7f1ff01406bd3db4f1 /meta/recipes-core | |
| parent | c191e5b82b43dfe327f440bd482a4a3ed36bb146 (diff) | |
| download | poky-d4e27863f3874fb7dc543eed8dcf6a8c4d146fb5.tar.gz | |
nativesdk-*-provides-dummy: Fixes to allow correct operation with opkg
opkg needs the replaces/conflicts/provides in order for this package
to function as intended. When enabled, this code caused failures for
core-image-sato -c populate_sdk.
The reason is that nativesdk-autoconf has several perl dependencies. We
need to list more of the things which this package provides/conflicts
with in order for it to function correctly. Therefore add the missing
entries.
(From OE-Core rev: 27412b377dda47daa87bfcb3a41babe53ff8b0a3)
(From OE-Core rev: e0db1beb6db624b3b743e780c298c63a1e177cfb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
4 files changed, 50 insertions, 4 deletions
diff --git a/meta/recipes-core/meta/dummy-sdk-package.inc b/meta/recipes-core/meta/dummy-sdk-package.inc index eafcb823ab..4d653706b1 100644 --- a/meta/recipes-core/meta/dummy-sdk-package.inc +++ b/meta/recipes-core/meta/dummy-sdk-package.inc | |||
| @@ -20,7 +20,7 @@ PR[vardeps] += "DUMMYPROVIDES" | |||
| 20 | python populate_packages_prepend() { | 20 | python populate_packages_prepend() { |
| 21 | p = d.getVar("PN") | 21 | p = d.getVar("PN") |
| 22 | d.appendVar("RPROVIDES_%s" % p, "${DUMMYPROVIDES}") | 22 | d.appendVar("RPROVIDES_%s" % p, "${DUMMYPROVIDES}") |
| 23 | #d.appendVar("RCONFLICTS_%s" % p, "${DUMMYPROVIDES}") | 23 | d.appendVar("RCONFLICTS_%s" % p, "${DUMMYPROVIDES}") |
| 24 | #d.appendVar("RREPLACES_%s" % p, "${DUMMYPROVIDES}") | 24 | d.appendVar("RREPLACES_%s" % p, "${DUMMYPROVIDES}") |
| 25 | } | 25 | } |
| 26 | 26 | ||
diff --git a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb index f5bcb82548..6a8748acdf 100644 --- a/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb +++ b/meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | |||
| @@ -2,7 +2,27 @@ DUMMYARCH = "buildtools-dummy-${SDKPKGSUFFIX}" | |||
| 2 | 2 | ||
| 3 | DUMMYPROVIDES = "\ | 3 | DUMMYPROVIDES = "\ |
| 4 | nativesdk-perl \ | 4 | nativesdk-perl \ |
| 5 | nativesdk-perl-module-file-path" | 5 | nativesdk-libxml-parser-perl \ |
| 6 | nativesdk-perl-module-bytes \ | ||
| 7 | nativesdk-perl-module-carp \ | ||
| 8 | nativesdk-perl-module-constant \ | ||
| 9 | nativesdk-perl-module-data-dumper \ | ||
| 10 | nativesdk-perl-module-errno \ | ||
| 11 | nativesdk-perl-module-exporter \ | ||
| 12 | nativesdk-perl-module-file-basename \ | ||
| 13 | nativesdk-perl-module-file-compare \ | ||
| 14 | nativesdk-perl-module-file-copy \ | ||
| 15 | nativesdk-perl-module-file-find \ | ||
| 16 | nativesdk-perl-module-file-glob \ | ||
| 17 | nativesdk-perl-module-file-path \ | ||
| 18 | nativesdk-perl-module-file-stat \ | ||
| 19 | nativesdk-perl-module-getopt-long \ | ||
| 20 | nativesdk-perl-module-io-file \ | ||
| 21 | nativesdk-perl-module-posix \ | ||
| 22 | nativesdk-perl-module-thread-queue \ | ||
| 23 | nativesdk-perl-module-threads \ | ||
| 24 | /usr/bin/perl \ | ||
| 25 | " | ||
| 6 | 26 | ||
| 7 | PR = "r2" | 27 | PR = "r2" |
| 8 | 28 | ||
diff --git a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb index 11a727d486..b891efa5ef 100644 --- a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb +++ b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb | |||
| @@ -4,7 +4,6 @@ DUMMYARCH = "sdk-provides-dummy-${SDKPKGSUFFIX}" | |||
| 4 | DUMMYPROVIDES = "\ | 4 | DUMMYPROVIDES = "\ |
| 5 | /bin/bash \ | 5 | /bin/bash \ |
| 6 | /usr/bin/env \ | 6 | /usr/bin/env \ |
| 7 | /usr/bin/perl \ | ||
| 8 | pkgconfig \ | 7 | pkgconfig \ |
| 9 | libGL.so()(64bit) \ | 8 | libGL.so()(64bit) \ |
| 10 | libGL.so \ | 9 | libGL.so \ |
diff --git a/meta/recipes-core/meta/target-sdk-provides-dummy.bb b/meta/recipes-core/meta/target-sdk-provides-dummy.bb index 714d15d8ba..edf07c4a23 100644 --- a/meta/recipes-core/meta/target-sdk-provides-dummy.bb +++ b/meta/recipes-core/meta/target-sdk-provides-dummy.bb | |||
| @@ -1,6 +1,33 @@ | |||
| 1 | DUMMYARCH = "sdk-provides-dummy-target" | 1 | DUMMYARCH = "sdk-provides-dummy-target" |
| 2 | 2 | ||
| 3 | DUMMYPROVIDES = "\ | 3 | DUMMYPROVIDES = "\ |
| 4 | busybox \ | ||
| 5 | coreutils \ | ||
| 6 | bash \ | ||
| 7 | perl \ | ||
| 8 | perl-module-re \ | ||
| 9 | perl-module-strict \ | ||
| 10 | perl-module-vars \ | ||
| 11 | perl-module-text-wrap \ | ||
| 12 | libxml-parser-perl \ | ||
| 13 | perl-module-bytes \ | ||
| 14 | perl-module-carp \ | ||
| 15 | perl-module-constant \ | ||
| 16 | perl-module-data-dumper \ | ||
| 17 | perl-module-errno \ | ||
| 18 | perl-module-exporter \ | ||
| 19 | perl-module-file-basename \ | ||
| 20 | perl-module-file-compare \ | ||
| 21 | perl-module-file-copy \ | ||
| 22 | perl-module-file-find \ | ||
| 23 | perl-module-file-glob \ | ||
| 24 | perl-module-file-path \ | ||
| 25 | perl-module-file-stat \ | ||
| 26 | perl-module-getopt-long \ | ||
| 27 | perl-module-io-file \ | ||
| 28 | perl-module-posix \ | ||
| 29 | perl-module-thread-queue \ | ||
| 30 | perl-module-threads \ | ||
| 4 | /bin/sh \ | 31 | /bin/sh \ |
| 5 | /bin/bash \ | 32 | /bin/bash \ |
| 6 | /usr/bin/env \ | 33 | /usr/bin/env \ |
