[jhalfs] 01/03: Make test-mismatch configurable

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sun, 31 Aug 2025 14:23:27 +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 06a5b7599c15e0699fa7fcc02b4b2a460bcc0181
Author: Pierre Labastie <[email protected]>
AuthorDate: Sun Aug 31 16:13:42 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 adds it to Config.in
---
 Config.in | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Config.in b/Config.in
index 491c3a8..b300dcf 100644
--- a/Config.in
+++ b/Config.in
@@ -581,6 +581,17 @@ depends on !BOOK_BLFS
             This is for being able to debug failed tests or other non
             fatal failures. But mhis lay consume a lot of disk space.
     #--- End Keep dirs in chapter eight
+    #
+    #--- Test mismatch between dirname version and package version
+    config TEST_MISMATCH
+        bool     "Test mismatch beween package version and directory name"
+        default y
+        help
+            If you check this option, the version of the extracted
+            directory name will be compared to the package version,
+            and a mismatch will abort the build. This is of almost
+            no use if you are not an editor of the book.
+    #--- End Test mismatch
 
     #--- Package Management
     config  PKGMNGT

-- 
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