summaryrefslogtreecommitdiffstats
path: root/meta/classes
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 /meta/classes
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 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