Commit graph

50 commits

Author SHA1 Message Date
Pierre Labastie
fd4a7982f2 Remove $Id$ comments, they are useless with git 2021-10-31 10:22:30 +01:00
Pierre Labastie
4c32ca80bd Adapt to condxml branch: func_book_parser
When running git-version.sh, unconditionally add a $INITSYS
argument, which is needed for the new condxml, and
is harmless if this argument is not needed.
2021-10-14 10:23:24 +02:00
Pierre Labastie
840b9ba06e Fix wrong VERSION variable for dev book
Using version from the ENTITY version line in gneral.ent is not
good anymore, since version is in version.ent for the dev book.
But it _is_ in general.ent for releases...
Use a different approach: take the profiled .xml, and use the
version in lsb-release.
2021-09-16 06:30:58 +02:00
Pierre Labastie
97b270f9bd LFS: Generate version.ent before profiling the book 2021-08-03 14:33:11 +02:00
Pierre Labastie
605ea3628b Fix forgotten "git_root" in func_book_parser 2021-05-01 13:50:43 +02:00
Pierre Labastie
de67016950 Adapt func_book_parser to git
The variable name "TREE" makes no sense now. It is rather a branch or a tag.
So more work is needed here.
2021-04-30 14:21:44 +02:00
Pierre Labastie
13e52a5572 Add the multilib book: fixes ticket #1722 2020-06-20 17:16:22 +00:00
Pierre Labastie
706e5bf46a Various small fixes/improvements:
- Prefer SysV over Sys V in Config.in
- do not generate the package list for lfs, it is not needed anymore
- prevent an (ignored) error in LFS/master.sh
- log new files under the scriptlet name (allows to log files for the same
  package from different builds)
- keep the full name in log_new_file functions (fix a undetected bug in
  CLFS/HLFS)
2020-06-20 17:01:23 +00:00
Pierre Labastie
ebe1ba613c Adapt for the cross 2 branch. Note that ICA is broken now. Keeping some old
code to use for fixing ICA, but committing now so that testing can begin!
2020-06-10 20:01:17 +00:00
Pierre Labastie
04de9bc4db Allow to find kernfs and chroot in any chapter
We use those files to generate code snippets to use in Makefile.
They used to be in chapter 6, but the new book will have some
of them in chapter 5.
2020-03-29 17:19:25 +00:00
Pierre Labastie
085435e66f Remove the obsolete vim-lang instructions and variable, and add non-wide-
charater ncurses library
2019-09-05 17:22:04 +00:00
Pierre Labastie
2758d9421e Use sect1info for getting informations on LFS packages:
- add sect1info sections to packagemanager.xml.xxx + various fixes
- add templates in LFS/lfs.xsl for script start and script end:
  - script start: define variables containing package information
                  print disk usage
                  unpack and change dir
  - script end: print disk usage
                remove build dir
- remove the corresponding operations from master.sh
2019-04-11 07:40:50 +00:00
Pierre Labastie
13c475babc Get virtual kernel filesystem commands from the book, and really add
/run/systemd/resolve/resolv.conf after creating the kernel FS in chapter 6
2019-03-13 06:31:55 +00:00
Pierre Labastie
3b43e17bda Generate console files:
- add variables LOCAL (y is hw clock set to local time) and LOG_LEVEL (sysv)
- generate /etc/sysconfig/console (sysv) or /etc/vconsole.conf (systemd)
- generate /etc/adjtime (only systemd)
- remove UNICODE and FONTMAP variables (jhalfs makes unicode default)
2019-03-09 08:11:37 +00:00
Pierre Labastie
f168be19d5 Remove "-i" flags in kernel scriptlet 2019-01-02 20:57:01 +00:00
Pierre Labastie
dc7fd7b7ba Add .la file removal to LFS and BLFS scripts 2018-01-12 19:04:19 +00:00
Pierre Labastie
45f8a9c86d Forgotten quotes 2017-06-29 16:54:28 +00:00
Pierre Labastie
a4acb1236b Quote bash variables in arguments to --stringparam for xsltproc 2017-06-29 14:10:30 +00:00
Pierre Labastie
945ccaa75e Merge the new_features branch (manully, thanks to svn) 2017-04-09 10:29:32 +00:00
Pierre Labastie
de57ef4f16 Fix issue with clfs, when using
a tag in git, and not checking "Rebuild files": git pull fails because
the local repo is in "detached head" state.
- fix an issue with iputils patch in clfs-3.0.0
2017-04-01 11:05:15 +00:00
Pierre Labastie
5e59386c6d Logging of the scriptlets generation had disappeared in the preceding
commit...
2017-03-27 19:10:38 +00:00
Pierre Labastie
0ad3a337f1 When choosing the LFS book, we should not depend on docbook-xml. This is achieved by directly treating the revision attribute in lfs.xsl, instead of using profiling from docbook-xsl. 2017-03-27 09:40:41 +00:00
Pierre Labastie
c9598f2108 Adaptation for merged LFS books. A few typos with no consequence are corrected too. 2016-05-28 10:00:30 +00:00
Pierre Labastie
3f83cb0f8e For CLFS 3.0, variable setting is now in final-prep chapter.
Adapt CLFS for that
2014-05-31 06:57:41 +00:00
Pierre Labastie
d68eb1b205 Major change to th scripts layout:
- Do not put the chroot commands in $PROGNAME-commands, but rather
  in a separate directory chroot-scripts
- Use the commands in the chroot-scripts directory to generate the CHROOT
  variables in Makefile
- The commands are extracted to $PROGNAME-commands only if they do not
  have role="nodump attribute and they do not begin with "chroot" (for
  compatibility with previous books where chroot commands did not have
  the role="nodump" attribute.
2014-01-12 21:40:20 +00:00
Pierre Labastie
e576789367 Merge ablfs branch. Normally, jhalfs should not perform differently
for building LFS
2013-10-29 15:42:03 +00:00
Pierre Labastie
ad4ff97cf4 Fix a bad fix 2013-10-03 10:28:37 +00:00
Pierre Labastie
7ce6de2ee4 Fix updating a git working copy when the head is detached 2013-09-22 07:14:33 +00:00
Pierre Labastie
a1dd968a36 Correct a path for clfs, in the version extraction code 2013-09-17 13:42:25 +00:00
Pierre Labastie
92b7cb887b Allows to use git for downloading the CLFS book
Adds .lzma as a possible extension for a tarball in urls.xsl
2013-09-14 10:13:04 +00:00
Pierre Labastie
1cf621b0c1 Take minimal versions from the book host requirements, instead
of hard coding them
2013-04-04 21:13:02 +00:00
Pierre Labastie
66c09d00a0 typo 2013-03-03 12:33:25 +00:00
Pierre Labastie
f0a31dea50 Add a sect2 template to lfs.xsl, so that it is possible to build
several packages on the same page
2013-03-02 14:10:45 +00:00
Pierre Labastie
f21dff80de Avoiding warnings in 000-masterscript.log, coming from missing
scripts in LFS source
2012-02-21 08:58:49 +00:00
Pierre Labastie
b0881bdfef reverting a change to func_book_parser inadvertently propagated on
last commit
2012-02-19 11:06:38 +00:00
Pierre Labastie
4c6f54f3df Fix svn properties on some files 2012-02-19 10:54:17 +00:00
Pierre Labastie
b339c942c1 Add a choice between installing the full set of supported locales
and installing just the minimal set for tests, after glibc build.
If the second option is chosen, the locale specified in LANG is also
installed, if not in the minimal set.
2012-02-10 09:43:23 +00:00
Thomas Pegg
7072e1faf4 Commit Pierre Labastie's patch for including package management support in jhalfs. NOTE: Package management is by default disabled. 2012-02-01 23:29:37 +00:00
Manuel Canales Esparcia
d09e32ad28 For blfs-tool dependencies, replaced links by linx.
Lynx have better GPM support and no locale issues.
2007-08-08 17:24:58 +00:00
Manuel Canales Esparcia
650acce1b8 CLFS: Fixed Sparc64 build flags issues. 2007-07-28 15:40:53 +00:00
Manuel Canales Esparcia
9436828ae9 CLFS3: Fixed endian setting in uClibc configuration. 2007-07-24 19:22:46 +00:00
Manuel Canales Esparcia
31eb678487 HLFS: Fixed scripts creation when all additional features are disabled. 2007-06-18 20:09:53 +00:00
Manuel Canales Esparcia
d035526cb1 HLFS: Added support for additional build features. 2007-06-04 19:36:27 +00:00
George Boudreau
6d48bb71ad Successful typo hunt 2007-06-04 17:05:56 +00:00
Manuel Canales Esparcia
139c34e855 HLFS: Select the proper kernel package for packages list and download. 2007-06-03 10:54:07 +00:00
Manuel Canales Esparcia
5c575e1b8c HLFS: Added support to select the kernel series based book. 2007-06-03 10:27:05 +00:00
Manuel Canales Esparcia
05760bc8d6 HLFS: Removed LC_ALL setting.
CLFS3: Removed remaining VIMLANG references.
2007-06-03 09:57:21 +00:00
Jeremy Huntwork
b11c10be50 Minor formatting changes for consistency and a typo fix in the README. 2007-03-21 02:34:14 +00:00
George Boudreau
9c1838ba25 Added missing case statement for clfs3 2006-11-15 21:41:07 +00:00
Manuel Canales Esparcia
fe30c61a75 Splitted common-functions. 2006-11-11 19:06:46 +00:00