summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPoonam Jadhav <poonam.jadhav@kpit.com>2024-07-01 11:42:45 +0530
committerSteve Sakoman <steve@sakoman.com>2024-07-09 06:06:09 -0700
commitbe9285cbd9c959e1c712971b6dd753a971717c79 (patch)
treeb36b94ac830d360a6c8b1314c00b9902a3686f1e /meta
parent945b58b5bab28f7a996ea2335e4a455cd250e0fe (diff)
downloadpoky-be9285cbd9c959e1c712971b6dd753a971717c79.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) (From OE-Core rev: 8e650506885bc4465f9569b3ccdc327eb83d90db) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 28b8d57a88849f7f024d13c5c901f3621f5166c7) Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/glibc/glibc-tests_2.35.bb2
-rwxr-xr-xmeta/recipes-core/glibc/glibc/run-ptest2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/glibc/glibc-tests_2.35.bb b/meta/recipes-core/glibc/glibc-tests_2.35.bb
index 4b765eaab8..9c440f92b7 100644
--- a/meta/recipes-core/glibc/glibc-tests_2.35.bb
+++ b/meta/recipes-core/glibc/glibc-tests_2.35.bb
@@ -28,7 +28,7 @@ python __anonymous() {
28# Remove any leftovers from original glibc recipe 28# Remove any leftovers from original glibc recipe
29RPROVIDES:${PN} = "${PN}" 29RPROVIDES:${PN} = "${PN}"
30RRECOMMENDS:${PN} = "" 30RRECOMMENDS:${PN} = ""
31RDEPENDS:${PN} = " glibc sed" 31RDEPENDS:${PN} = " glibc sed bash"
32RDEPENDS:${PN}-ptest = "${PN}" 32RDEPENDS:${PN}-ptest = "${PN}"
33DEPENDS += "sed" 33DEPENDS += "sed"
34 34
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'