There is no point in using bash for the openais script, if just sh is enough. In addition this fixes the following QA warning:
openais-1.1.3: /etc/init.d/openais_openais contained in package openais requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps] Signed-off-by: Dmitry Eremin-Solenikov <dmitry_ere...@mentor.com> --- .../recipes-cgl/openais/files/openais-fix-bash.patch | 10 ++++++++++ meta-cgl-common/recipes-cgl/openais/openais_1.1.3.bb | 1 + 2 files changed, 11 insertions(+) create mode 100644 meta-cgl-common/recipes-cgl/openais/files/openais-fix-bash.patch diff --git a/meta-cgl-common/recipes-cgl/openais/files/openais-fix-bash.patch b/meta-cgl-common/recipes-cgl/openais/files/openais-fix-bash.patch new file mode 100644 index 0000000..ede77e8 --- /dev/null +++ b/meta-cgl-common/recipes-cgl/openais/files/openais-fix-bash.patch @@ -0,0 +1,10 @@ +Index: openais-1.1.3/init/generic.in +=================================================================== +--- openais-1.1.3.orig/init/generic.in ++++ openais-1.1.3/init/generic.in +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + # Authors: + # Andrew Beekhof <abeek...@redhat.com> diff --git a/meta-cgl-common/recipes-cgl/openais/openais_1.1.3.bb b/meta-cgl-common/recipes-cgl/openais/openais_1.1.3.bb index 2a03b9a..f4563c9 100644 --- a/meta-cgl-common/recipes-cgl/openais/openais_1.1.3.bb +++ b/meta-cgl-common/recipes-cgl/openais/openais_1.1.3.bb @@ -9,6 +9,7 @@ SRC_URI = " \ ftp://f...@tux.rainside.sk/gentoo/distfiles/openais-${PV}.tar.gz \ file://fix-lcrso-linkage.patch \ file://build-cleanup-configure-ac.patch \ + file://openais-fix-bash.patch \ " SRC_URI[md5sum] = "13d8d590f806fb396d750b086c6c0b78" SRC_URI[sha256sum] = "eeef58dd2df3eb16ba68b3fbdc6f0d4dfb537443f1c091ec6f0431594f2f00b6" -- 2.1.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto