Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@arm.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/3] glibc: remove redundant tzselect interpreter option patch
Date: Thu,  6 Aug 2026 17:27:30 +0100	[thread overview]
Message-ID: <20260806162730.352060-3-ross.burton@arm.com> (raw)
In-Reply-To: <20260806162730.352060-1-ross.burton@arm.com>

Patch 18 adds an option to replace the interpreter in the tzselect
script from /bin/bash to whatever KSHELL is set to.  However, patch 19
directly changes the interpreter to /bin/sh so this functionality never
works.

This is further cleanup based on a previous commit removing the KSHELL
assignment[1].

[1] oe-core a9ffb0db9e7 ("glibc: remove obsolete KSHELL assignment")

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 ...ell-interpreter-overridable-in-tzsel.patch | 47 -------------------
 meta/recipes-core/glibc/glibc_2.44.bb         |  1 -
 2 files changed, 48 deletions(-)
 delete mode 100644 meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch

diff --git a/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch b/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
deleted file mode 100644
index 46cca501001..00000000000
--- a/meta/recipes-core/glibc/glibc/0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From cd372730f78fd39949b1a0c119f7b2450a6706a8 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Thu, 9 Dec 2021 15:14:42 -0800
-Subject: [PATCH] timezone: Make shell interpreter overridable in tzselect.ksh
-
-define new macro called KSHELL which can be used to define default shell
-use Bash by default
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- Makeconfig        | 9 +++++++++
- timezone/Makefile | 1 +
- 2 files changed, 10 insertions(+)
-
-diff --git a/Makeconfig b/Makeconfig
-index e7dbd9fb9e..fd62fdf49b 100644
---- a/Makeconfig
-+++ b/Makeconfig
-@@ -309,6 +309,15 @@ ifndef sysincludedir
- sysincludedir = /usr/include
- endif
- 
-+# The full path name of a Posix-compliant shell, preferably one that supports
-+# the Korn shell's 'select' statement as an extension.
-+# These days, Bash is the most popular.
-+# It should be OK to set this to /bin/sh, on platforms where /bin/sh
-+# lacks 'select' or doesn't completely conform to Posix, but /bin/bash
-+# is typically nicer if it works.
-+ifndef KSHELL
-+KSHELL = /bin/bash
-+endif
- 
- # Commands to install files.
- ifndef INSTALL_DATA
-diff --git a/timezone/Makefile b/timezone/Makefile
-index ce9abe6cb2..721fb70be4 100644
---- a/timezone/Makefile
-+++ b/timezone/Makefile
-@@ -140,6 +140,7 @@ $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
- 	    -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
- 	    -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
- 	    -e '/REPORT_BUGS_TO=/s|=.*|="$(REPORT_BUGS_TO)"|' \
-+	    -e 's|#!/bin/bash|#!$(KSHELL)|g' \
- 	    < $< > $@.new
- 	chmod 555 $@.new
- 	mv -f $@.new $@
diff --git a/meta/recipes-core/glibc/glibc_2.44.bb b/meta/recipes-core/glibc/glibc_2.44.bb
index 42ec8701e6b..b4a5fbf8c31 100644
--- a/meta/recipes-core/glibc/glibc_2.44.bb
+++ b/meta/recipes-core/glibc/glibc_2.44.bb
@@ -53,7 +53,6 @@ SRC_URI =  "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
            file://0015-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch \
            file://0016-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
            file://0017-sysdeps-gnu-configure.ac-Set-libc_cv_rootsbindir-onl.patch \
-           file://0018-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
            file://0019-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch \
            file://0020-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \
            file://0021-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \
-- 
2.43.0



  parent reply	other threads:[~2026-08-06 16:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06 16:27 [PATCH 1/3] cross-localedef-native: prune patch list Ross Burton
2026-08-06 16:27 ` [PATCH 2/3] glibc: update patch status Ross Burton
2026-08-06 16:27 ` Ross Burton [this message]
2026-08-06 16:32 ` Patchtest results for [PATCH 1/3] cross-localedef-native: prune patch list patchtest
2026-08-06 17:27 ` [OE-core] " Khem Raj
2026-08-06 17:29   ` Ross Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260806162730.352060-3-ross.burton@arm.com \
    --to=ross.burton@arm.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox