diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-11 20:51:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-12 23:39:13 +0000 |
commit | 28b8d57a88849f7f024d13c5c901f3621f5166c7 (patch) | |
tree | 26248d8095743c82b7aabcf4ce012f2ce35cd446 /meta/recipes-core/glibc | |
parent | 3ad29bf3b733b4f3a86451d204c1755570917814 (diff) | |
download | poky-28b8d57a88849f7f024d13c5c901f3621f5166c7.tar.gz |
glibc-tests: Add missing bash ptest dependency
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.
(From OE-Core rev: a1b5afac108d9c94e8fc2ad8cfebfee16f6f243b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r-- | meta/recipes-core/glibc/glibc-tests_2.37.bb | 2 | ||||
-rwxr-xr-x | meta/recipes-core/glibc/glibc/run-ptest | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/glibc/glibc-tests_2.37.bb b/meta/recipes-core/glibc/glibc-tests_2.37.bb index bb6ef06162..9352a058fb 100644 --- a/meta/recipes-core/glibc/glibc-tests_2.37.bb +++ b/meta/recipes-core/glibc/glibc-tests_2.37.bb | |||
@@ -27,7 +27,7 @@ python __anonymous() { | |||
27 | # Remove any leftovers from original glibc recipe | 27 | # Remove any leftovers from original glibc recipe |
28 | RPROVIDES:${PN} = "${PN}" | 28 | RPROVIDES:${PN} = "${PN}" |
29 | RRECOMMENDS:${PN} = "" | 29 | RRECOMMENDS:${PN} = "" |
30 | RDEPENDS:${PN} = " glibc sed" | 30 | RDEPENDS:${PN} = " glibc sed bash" |
31 | RDEPENDS:${PN}-ptest = "${PN}" | 31 | RDEPENDS:${PN}-ptest = "${PN}" |
32 | DEPENDS += "sed" | 32 | DEPENDS += "sed" |
33 | 33 | ||
diff --git a/meta/recipes-core/glibc/glibc/run-ptest b/meta/recipes-core/glibc/glibc/run-ptest index f637986105..c394b49866 100755 --- a/meta/recipes-core/glibc/glibc/run-ptest +++ b/meta/recipes-core/glibc/glibc/run-ptest | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/bash |
2 | # ptest script for glibc - to run time related tests to | 2 | # ptest script for glibc - to run time related tests to |
3 | # facilitate Y2038 validation | 3 | # facilitate Y2038 validation |
4 | # Run with 'ptest-runner glibc-tests' | 4 | # Run with 'ptest-runner glibc-tests' |