Message ID | 20230311224155.3442306-2-richard.purdie@linuxfoundation.org |
---|---|
State | Accepted, archived |
Commit | a1b5afac108d9c94e8fc2ad8cfebfee16f6f243b |
Headers | show |
Series | [1/8] gettext: Add missing bash ptest dependency | expand |
diff --git a/meta/recipes-core/glibc/glibc-tests_2.37.bb b/meta/recipes-core/glibc/glibc-tests_2.37.bb index bb6ef061623..9352a058fbe 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() { # 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" diff --git a/meta/recipes-core/glibc/glibc/run-ptest b/meta/recipes-core/glibc/glibc/run-ptest index f637986105e..c394b498660 100755 --- a/meta/recipes-core/glibc/glibc/run-ptest +++ b/meta/recipes-core/glibc/glibc/run-ptest @@ -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'
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 | 2 +- meta/recipes-core/glibc/glibc/run-ptest | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)