Config.in: simplify selection of book source

Use the variable COMMIT instead of BRANCH_ID.
Also fix various typos, CLFS/HLFS reference, help strings, etc.
For the moment, the selections for the BLFS tools are unchanged.
This commit is contained in:
Pierre Labastie 2022-03-13 20:50:38 +01:00
parent 62206d62a3
commit f45af2ca4d

View file

@ -57,35 +57,28 @@ menu "BOOK Settings"
#--- Book version #--- Book version
choice choice
prompt "Release" prompt "Book version"
default relGIT default BRANCH
config relGIT config BRANCH
bool "GIT" bool "Branch (default to trunk) or any commit"
help help
Current development git trunk branch A GIT branch, tag, or commit
config WORKING_COPY config WORKING_COPY
bool "Working Copy" bool "Working Copy"
help help
A local working copy A local working copy
config BRANCH
bool "Branch or stable book"
help
A supported GIT branch or tag
endchoice endchoice
config BRANCH_ID config COMMIT
string "Branch (preceded by \"branch-\"), stable Version, or tag" string "Branch, tag, or any commit"
default "**EDIT ME**" default "trunk"
depends on BRANCH depends on BRANCH
help help
A list of valid branches and stable book IDs is available at Enter a branch, a tag, or an abbreviated commit sha.
http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks The tool will clone the LFS repository and checkout
that commit
Enter "branch-XXX" for branch XXX, or just "YYY" for stable (or tag)
YYY version.
config BOOK config BOOK
string "Loc of working copy (mandatory)" string "Loc of working copy (mandatory)"
@ -256,8 +249,7 @@ menu "BOOK Settings"
default "**EDIT ME**" default "**EDIT ME**"
depends on BLFS_BRANCH depends on BLFS_BRANCH
help help
A list of valid branches and stable book IDs is available at Can be any branch, tag, or abbreviated (or not) commit sha.
http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
endif endif
#--- End blfs-tool Support #--- End blfs-tool Support
@ -330,8 +322,7 @@ menu "BOOK Settings"
default "**EDIT ME**" default "**EDIT ME**"
depends on LFS_BRANCH depends on LFS_BRANCH
help help
A list of valid branches and stable book IDs is available at Any branch, tag or abbreviated (or not) commit sha.
http://wiki.linuxfromscratch.org/alfs/wiki/SupportedBooks.
# End of BLFS parameters # End of BLFS parameters
#--- Custom Tools support #--- Custom Tools support
@ -364,7 +355,7 @@ menu "BOOK Settings"
need to fix this directory's permissions after booting need to fix this directory's permissions after booting
the new system. the new system.
Note that the user that will build the packages must Note that the user who will build the packages must
have read and write access to this directory. have read and write access to this directory.
#--- End BOOK Settings #--- End BOOK Settings
@ -373,11 +364,11 @@ endmenu
menu "General Settings" menu "General Settings"
depends on !BOOK_BLFS depends on !BOOK_BLFS
#--- {C,H,}LFS User Account #--- LFS User Account
config LUSER config LUSER
string string
default "lfs" if BOOK_LFS || BOOK_LFS_SYSD default "lfs"
config LGROUP config LGROUP
string string
@ -729,7 +720,7 @@ menu "System configuration"
default "10.0.2.9" default "10.0.2.9"
help help
The default here is for a virtual interface in qemu. Private The default here is for a virtual interface in qemu. Private
networks have addresses in the range 10.x.x.x or 192.169.x.x. networks have addresses in the range 10.x.x.x or 192.168.x.x.
You have to know your network prefix. Then the last figure You have to know your network prefix. Then the last figure
may be anything you like. may be anything you like.
@ -885,7 +876,7 @@ depends on !BOOK_BLFS
config REALSBU config REALSBU
bool "Build Binutls pass1 without optimization (Real SBU)" bool "Build Binutls pass1 without optimization (Real SBU)"
depends on (BOOK_LFS || BOOK_LFS_SYSD) && OPT_2 depends on OPT_2
default n default n
help help
#-- Use -j1 in make invokation for Binutils pass1 to #-- Use -j1 in make invokation for Binutils pass1 to