[jhalfs] branch trunk updated: Hide DEL_LA_FILES in internal settings

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <169341975751.2038.8847864151280933238@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 0861416  Hide DEL_LA_FILES in internal settings
0861416 is described below

commit 08614168ec2ba3f225e66d80df0d6cf6f927d5c3
Author: Pierre Labastie <[email protected]>
AuthorDate: Wed Aug 30 20:20:59 2023 +0200

    Hide DEL_LA_FILES in internal settings
    
    This prevent normal users to change the default while preserving
    the possibility to set it to "n" for tests or whatever.
    Fixes ticket #1734
---
 Config.in                            | 15 ++++++++-------
 common/libs/func_validate_configs.sh |  2 +-
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/Config.in b/Config.in
index 4bf1091..c44bebb 100644
--- a/Config.in
+++ b/Config.in
@@ -556,13 +556,6 @@ depends on !BOOK_BLFS
         bool "Strip Installed Binaries/Libraries"
         default n
 
-    config    DEL_LA_FILES
-        bool "Remove libtool .la files"
-        default y
-        help
-            #-- Remove files libxxx.la installed by libtool. For a rationale
-            #   see https://blog.flameeyes.eu/tags/lafiles/
-
     config    NO_PROGRESS_BAR
         bool "DO NOT use/display progress_bar"
         default n
@@ -913,6 +906,14 @@ depends on !BOOK_BLFS
             string "Package contents list"
             default "unpacked"
 
+        config    DEL_LA_FILES
+            bool "Remove libtool .la files"
+            default y
+            help
+                #-- Remove files libxxx.la installed by libtool. Only set to
+                #   "n" if you know what you are doing. For a rationale
+                #   see https://blog.flameeyes.eu/tags/lafiles/
+
     #--- End Internal Settings
     endmenu
 
diff --git a/common/libs/func_validate_configs.sh b/common/libs/func_validate_configs.sh
index b14cf81..ec21656 100644
--- a/common/libs/func_validate_configs.sh
+++ b/common/libs/func_validate_configs.sh
@@ -29,7 +29,7 @@ inline_doc
   local -r   LFS_book="$BOOK_common INITSYS BLFS_TOOL"
 
   # Build Settings by book
-  local -r   LFS_build="$BUILD_chroot NCURSES5 DEL_LA_FILES $BUILD_common PKGMNGT FULL_LOCALE WRAP_INSTALL"
+  local -r   LFS_build="$BUILD_chroot NCURSES5 $BUILD_common PKGMNGT FULL_LOCALE WRAP_INSTALL"
 
   # System Settings by book
   local -r LFS_system="HOSTNAME INTERFACE IP_ADDR GATEWAY PREFIX BROADCAST DOMAIN DNS1 DNS2 FONT KEYMAP LOCAL LOG_LEVEL"

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.