]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
glibc-tests: Add missing bash ptest dependency
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Mar 2023 20:51:21 +0000 (20:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Mar 2023 23:36:44 +0000 (23:36 +0000)
The script has a bashism and needs bash to execute correctly. Mark it
as such and add the missing bash dependency so it executes in minimal
images.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-tests_2.37.bb
meta/recipes-core/glibc/glibc/run-ptest

index bb6ef0616234230b30f9724d2245827b2ef0740d..9352a058fbe62126c303dd34c99696bd87f3b293 100644 (file)
@@ -27,7 +27,7 @@ python __anonymous() {
 # Remove any leftovers from original glibc recipe
 RPROVIDES:${PN} = "${PN}"
 RRECOMMENDS:${PN} = ""
-RDEPENDS:${PN} = " glibc sed"
+RDEPENDS:${PN} = " glibc sed bash"
 RDEPENDS:${PN}-ptest = "${PN}"
 DEPENDS += "sed"
 
index f637986105e359042642c6e12f84abcb33eedccb..c394b4986607dac10cc9ee6c2aa494abd8f1ee2b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # ptest script for glibc - to run time related tests to
 # facilitate Y2038 validation
 # Run with 'ptest-runner glibc-tests'