summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-21 00:19:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-22 15:46:55 +0100
commitfd2081188ca0ebc4755a3473b64b22842333a722 (patch)
tree8347de6871438f6bbcd47bb9bee398ea1162dd60
parentc67f57c09ec77568e87d3a6db0c67cc78530e99c (diff)
downloadpoky-fd2081188ca0ebc4755a3473b64b22842333a722.tar.gz
nativesdk-sdk-provides-dummy: Add /bin/sh
By doing this we can revert b18c32ab6bc9c4f1953e9f79aa39bc92d1c4e30d which was a pretty ugly hack anyway and now means the different providers are all being handled consistently. Anyone with SDK recipes will need to ensure nativesdk-sdk-provides-dummy is included in those builds (or an equivalent). This is a good thing to do anyway. (From OE-Core rev: dd2c603befdd65c92c6196d5b103568249766b3e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package_rpm.bbclass2
-rw-r--r--meta/recipes-core/meta/buildtools-tarball.bb1
-rw-r--r--meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb2
-rw-r--r--meta/recipes-core/meta/testexport-tarball.bb2
-rw-r--r--meta/recipes-core/meta/uninative-tarball.bb1
5 files changed, 5 insertions, 3 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 519c22be47..53b4700cdd 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -557,7 +557,7 @@ python write_specfile () {
557 557
558 print_deps(srcrrecommends, "Recommends", spec_preamble_top, d) 558 print_deps(srcrrecommends, "Recommends", spec_preamble_top, d)
559 print_deps(srcrsuggests, "Suggests", spec_preamble_top, d) 559 print_deps(srcrsuggests, "Suggests", spec_preamble_top, d)
560 print_deps(srcrprovides + (" /bin/sh" if srcname.startswith("nativesdk-") else ""), "Provides", spec_preamble_top, d) 560 print_deps(srcrprovides, "Provides", spec_preamble_top, d)
561 print_deps(srcrobsoletes, "Obsoletes", spec_preamble_top, d) 561 print_deps(srcrobsoletes, "Obsoletes", spec_preamble_top, d)
562 print_deps(srcrconflicts, "Conflicts", spec_preamble_top, d) 562 print_deps(srcrconflicts, "Conflicts", spec_preamble_top, d)
563 563
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 3785941c2c..75b71f5532 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -6,6 +6,7 @@ LICENSE = "MIT"
6TOOLCHAIN_TARGET_TASK ?= "" 6TOOLCHAIN_TARGET_TASK ?= ""
7 7
8TOOLCHAIN_HOST_TASK ?= "\ 8TOOLCHAIN_HOST_TASK ?= "\
9 nativesdk-sdk-provides-dummy \
9 nativesdk-python3-core \ 10 nativesdk-python3-core \
10 nativesdk-python3-modules \ 11 nativesdk-python3-modules \
11 nativesdk-python3-misc \ 12 nativesdk-python3-misc \
diff --git a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb
index 29f4dd3633..1d71f373a4 100644
--- a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb
+++ b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb
@@ -4,8 +4,8 @@ DUMMYPROVIDES_PACKAGES = "\
4 pkgconfig \ 4 pkgconfig \
5" 5"
6 6
7# Add /bin/sh?
8DUMMYPROVIDES = "\ 7DUMMYPROVIDES = "\
8 /bin/sh \
9 /bin/bash \ 9 /bin/bash \
10 /usr/bin/env \ 10 /usr/bin/env \
11 libGL.so()(64bit) \ 11 libGL.so()(64bit) \
diff --git a/meta/recipes-core/meta/testexport-tarball.bb b/meta/recipes-core/meta/testexport-tarball.bb
index c38ac902a0..daedd78cb4 100644
--- a/meta/recipes-core/meta/testexport-tarball.bb
+++ b/meta/recipes-core/meta/testexport-tarball.bb
@@ -8,7 +8,7 @@ TEST_EXPORT_SDK_PACKAGES ??= ""
8 8
9TOOLCHAIN_TARGET_TASK ?= "" 9TOOLCHAIN_TARGET_TASK ?= ""
10 10
11TOOLCHAIN_HOST_TASK ?= "${TEST_EXPORT_SDK_PACKAGES}" 11TOOLCHAIN_HOST_TASK ?= "${TEST_EXPORT_SDK_PACKAGES} nativesdk-sdk-provides-dummy"
12 12
13MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" 13MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
14PACKAGE_ARCH = "${SDK_ARCH}_${SDK_OS}" 14PACKAGE_ARCH = "${SDK_ARCH}_${SDK_OS}"
diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb
index 39638eb8c5..c4a6c96b4d 100644
--- a/meta/recipes-core/meta/uninative-tarball.bb
+++ b/meta/recipes-core/meta/uninative-tarball.bb
@@ -18,6 +18,7 @@ TOOLCHAIN_HOST_TASK = "\
18 nativesdk-libxcrypt \ 18 nativesdk-libxcrypt \
19 nativesdk-libxcrypt-compat \ 19 nativesdk-libxcrypt-compat \
20 nativesdk-libnss-nis \ 20 nativesdk-libnss-nis \
21 nativesdk-sdk-provides-dummy \
21 " 22 "
22 23
23INHIBIT_DEFAULT_DEPS = "1" 24INHIBIT_DEFAULT_DEPS = "1"