[jhalfs] 02/03: Make test-mismatch configurable
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sun, 31 Aug 2025 14:23:28 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit 987003b3d098f2deeb45a1637a71d914d98ffb8d Author: Pierre Labastie <[email protected]> AuthorDate: Sun Aug 31 16:20:31 2025 +0200 Make test-mismatch configurable Presently, it is not possible to disable testing a mismatch between an extracted directory name and a package version. This may be a problem in some cases (for example if using base+patch for the kernel). The infrastructure is already there. We just need to add the possibility to set TEST_MISMATCH. This commit retrieves TEST_MISMATCH from configuration in jhalfs. --- jhalfs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/jhalfs b/jhalfs index b27e2cf..8862d7d 100755 --- a/jhalfs +++ b/jhalfs @@ -185,12 +185,10 @@ if [[ "${NO_PROGRESS_BAR}" = "y" ]] ; then fi # The next variable is passed to the xsl stylesheet to tell whether we want -# to test a mismatch between the version and the directory name. it is -# the negation of GETPKG, because if we get the source files, we test -# the mismatch between directory name and version when receiving the file. -TEST_MISMATCH=y -# TODO: add TEST_MISMATCH to Config.in -#if [ "$GETPKG" = y ]; then TEST_MISMATCH=n; fi +# to test a mismatch between the version and the directory name. +TEST_MISMATCH=${TEST_MISMATCH:=n} +# Note that this test could be done when downloading packages, but this +# would add bzip2 as a prerequisite of jhalfs... # Sanity check on the location of $BUILDDIR / $JHALFSDIR CWD="$(cd "$(dirname "$0")" && pwd)" -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page