[jhalfs] 02/03: Version checking: allows uutils coreutils
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sun, 24 May 2026 14:01:04 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1779631278-28406-32103 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit 793850e23db90b68d683c550fd4ee7de0ba2e99e Author: Pierre Labastie <[email protected]> AuthorDate: Sun May 24 15:56:34 2026 +0200 Version checking: allows uutils coreutils There is a recent change in LFS host requirements to allow using the rust version of coreutils. Adapt jhalfs to it... --- common/hostreqs.xsl | 6 ++++++ common/libs/func_check_version.sh | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/common/hostreqs.xsl b/common/hostreqs.xsl index 0f1f842..e427142 100644 --- a/common/hostreqs.xsl +++ b/common/hostreqs.xsl @@ -65,6 +65,12 @@ or ' @' --> <xsl:when test="contains(string(),'XZ')"> <xsl:text>Xz</xsl:text> </xsl:when> + <xsl:when test="contains(string(),'GNU Coreutils')"> + <xsl:text>GNU_Coreutils</xsl:text> + </xsl:when> + <xsl:when test="contains(string(),'utils Coreutils')"> + <xsl:text>Uutils_Coreutils</xsl:text> + </xsl:when> <xsl:otherwise> <!-- We assume that there are no dash nor space in other names --> <xsl:value-of select="substring(string(),1,number($begin-ver)-1)"/> diff --git a/common/libs/func_check_version.sh b/common/libs/func_check_version.sh index 6f89072..9e3a816 100644 --- a/common/libs/func_check_version.sh +++ b/common/libs/func_check_version.sh @@ -124,6 +124,12 @@ check_prerequisites() { # if [ -n "$MIN_Bison_VER" ]; then check_version "$MIN_Bison_VER" "$(bison --version | head -n1 | cut -d" " -f4)" "BISON" fi + if [ -n "$MIN_GNU_Coreutils_VER" ] && chown --version | grep -q GNU; then + check_version "$MIN_GNU_Coreutils_VER" "$(chown --version | head -n1 | cut -d" " -f4)" "GNU COREUTILS" + fi + if [ -n "$MIN_Uutils_Coreutils_VER" ] && chown --version | grep -q uutils; then + check_version "$MIN_Uutils_Coreutils_VER" "$(chown --version | head -n1 | cut -d" " -f4)" "UUTILS COREUTILS" + fi if [ -n "$MIN_Coreutils_VER" ]; then check_version "$MIN_Coreutils_VER" "$(chown --version | head -n1 | cut -d" " -f4)" "COREUTILS" fi -- To stop receiving notification emails like this one, please contact the administrator of this repository. ------------=_1779631278-28406-32103 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page ------------=_1779631278-28406-32103--