diff --git a/meta-stx-integ/recipes-extended/lsb/files/xgettext_sh.py-fix-the-intepreter.patch b/meta-stx-integ/recipes-extended/lsb/files/xgettext_sh.py-fix-the-intepreter.patch new file mode 100644 index 0000000..e8b47f4 --- /dev/null +++ b/meta-stx-integ/recipes-extended/lsb/files/xgettext_sh.py-fix-the-intepreter.patch @@ -0,0 +1,23 @@ +From ada06af13917182a487140189d932262d30c2160 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Mon, 15 May 2023 19:54:17 -0700 +Subject: [PATCH] xgettext_sh.py: fix the intepreter + +Signed-off-by: Jackie Huang +--- + po/xgettext_sh.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/po/xgettext_sh.py b/po/xgettext_sh.py +index d442e989..ced02a64 100755 +--- a/po/xgettext_sh.py ++++ b/po/xgettext_sh.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + # sh_xgettext + # Arnaldo Carvalho de Melo + # Wed Mar 10 10:24:35 EST 1999 +-- +2.39.1 + diff --git a/meta-stx-integ/recipes-extended/lsb/lsbinitscripts_9.79.bbappend b/meta-stx-integ/recipes-extended/lsb/lsbinitscripts_9.79.bbappend index 6f82beb..84ba3a4 100644 --- a/meta-stx-integ/recipes-extended/lsb/lsbinitscripts_9.79.bbappend +++ b/meta-stx-integ/recipes-extended/lsb/lsbinitscripts_9.79.bbappend @@ -1,7 +1,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -SRC_URI += "file://service-redirect-to-restart-for-reload.patch" +SRC_URI += " \ + file://service-redirect-to-restart-for-reload.patch \ + file://xgettext_sh.py-fix-the-intepreter.patch \ +" DEPENDS += "\ gettext-native \