| 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 plabs/lfs-user
in repository jhalfs.
commit 9de90cd6870ddd3e9ec888b0faac9e624782084d
Author: Pierre Labastie <[email protected]>
AuthorDate: Mon Dec 30 17:16:12 2024 +0100
Allow user to choose lfs username and groupname
If the book is modified in such a way that parsing those names
is easy, we should allow the user to choose them. They are then
passed to the stylesheet.
---
Config.in | 14 ++++++++++++--
common/libs/func_book_parser | 2 ++
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/Config.in b/Config.in
index 63eef43..dee3d26 100644
--- a/Config.in
+++ b/Config.in
@@ -365,12 +365,22 @@ depends on !BOOK_BLFS
#--- LFS User Account
config LUSER
- string
+ string "Temporary user for chapters 4, 5, and 6 (should not exist)"
default "lfs"
+ help
+ LFS creates a temporary user for running commands in chapters
+ 4, 5, and 6. In the book, its username is "lfs", but in jhalfs
+ you can choose it. It should *not* exist on the system, and it
+ is removed before entering chroot.
config LGROUP
- string
+ string "Group of user for chapters 4, 5, and 6 (should not exist)"
default LUSER
+ help
+ This is the main group of the temporary user created in chapter
+ 4. In the book, the groupname is "lfs", but in jhalfs
+ you can choose it. It should *not* exist on the system, and it
+ is removed before entering chroot.
config LHOME
string
diff --git a/common/libs/func_book_parser b/common/libs/func_book_parser
index 3d83470..13fd7c9 100644
--- a/common/libs/func_book_parser
+++ b/common/libs/func_book_parser
@@ -83,6 +83,8 @@ extract_commands() { #
# Use the profiled book for generating the scriptlets
xsltproc --nonet \
+ --stringparam luser "$LUSER" \
+ --stringparam lgroup "$LGROUP" \
--stringparam testsuite "$TEST" \
--stringparam ncurses5 "$NCURSES5" \
--stringparam strip "$STRIP" \
--
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