Commit graph

233 commits

Author SHA1 Message Date
Pierre Labastie
0fa52f2403 Remove legacy: Remove almost all occurrences of CLFS/clfs 2022-03-01 21:09:30 +01:00
Pierre Labastie
4c36783ec4 oRemove legacy: do not run tests in temporary tools (2) 2022-02-28 14:11:30 +01:00
Pierre Labastie
16cef03acf Remove legacy: First run of CLFS removal 2022-02-28 13:38:06 +01:00
Pierre Labastie
978286a4b9 Remove legacy: remove everything about HLFS 2022-02-28 13:30:53 +01:00
Pierre Labastie
0870a7cfdb Do not call check_blfs_tools that doesn't exist anymore 2021-12-13 16:10:37 +01:00
Pierre Labastie
ee96ad26f9 jhalfs: rebuild-makefile. take VERSION from prbook
When rebuilding the Makefile, we should have prbook.xml in
ĴHALFSDIR. Use it to get VERSION (from lfs-release).
2021-10-14 10:25:48 +02:00
Pierre Labastie
106157fdae Do not assume there is a group named as $USER
Remove any use of chown $USER:$USER
2021-06-30 16:03:51 +02:00
Pierre Labastie
380c2c619a jhalfs: manage version.ent vs general.ent
Old commits do not have git-version.sh, so version.ent cannot be generated
and general.ent has to be used
2021-05-01 17:26:37 +02:00
Pierre Labastie
b3825c3eb8 Adapt jhalfs to git
Note that the *_TREE var names should be changed to something related to
branch
2021-05-01 09:21:06 +02:00
Pierre Labastie
e5518fd03e jhalfs: update copyright years and adapt to git
- use git log to retrieve the most recent version to display with
  -v
2021-01-17 11:13:43 +01:00
Pierre Labastie
f7c6c3c108 Allow versions up to 19 for lfs 2020-08-22 11:44:07 +00:00
Pierre Labastie
7e9e66faa4 Fix name of book repo for tag version greater than 9 2020-08-16 08:05:57 +00:00
Pierre Labastie
8b85dae454 Prevent users to tick "Rebuild Makefile" if Makefile does not exist
For some reason, beginners tend to tick this at the first pass. Since
it is hard to prevent that in Config.in, use a sanity check in jhalfs.
2020-07-10 13:26:23 +00:00
Pierre Labastie
5a965adf4f When copying packageManager.xml, use a sed to replace BOOK with $BOOK
This allows loading entities from the lfs book
2020-07-06 05:23:47 +00:00
Pierre Labastie
0a0753d579 Remove spaces at the end of lines 2020-06-19 14:25:52 +00:00
Pierre Labastie
6447575192 Fix detection of the cross2 branch 2020-06-10 20:58:33 +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
9ef12f76bb Use a private name for MAKEFLAGS in jhalfs, so that it does not propagate
to top make, when ticking "Run the makefile"
2020-06-05 10:18:27 +00:00
Pierre Labastie
f5ecc2838a Add code to save work at the end of chapter 5
(and finish the rebuild-makefile change)
2020-05-01 14:24:32 +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
91b5249f05 Fix retrieval of BLFS 9.0 tag. Note that older tags cannot be processed by
present jhalfs, and the case statement should be simplified...
2019-09-01 21:00:48 +00:00
Pierre Labastie
cf2f109b89 Update to Kconfiglib version 12.4.0. This removes the need to use
".configuration.old"
2019-06-15 17:25:10 +00:00
Pierre Labastie
f596dde66c Get rid of the GPLv2 license:
- Replace the menu system with the Kconfiglib, which has an ISC license
- Remove farce and any reference to it
- Rewrite the copyright notice, add the LICENSE files
- Adapt Config.in and a few other programs to the new menu system
2019-04-24 16:16:20 +00:00
Pierre Labastie
183cc33453 Fix a missing newline in one message 2019-04-24 15:03:58 +00:00
Pierre Labastie
dfc023a13c typo 2019-04-18 08:55:19 +00:00
Pierre Labastie
a22bfe1ab5 Author: Jeremy Huntwork <jhuntwork@lightcubesolutions.com>
Date:   Tue Apr 16 13:31:09 2019 -0700

    Improve testing of configuration file timestamp
    
      * Provide a default value for each so that the comparisons of the time
        of each file doesn't fail.
      * Two commands in the Makefile could acceptably fail, but would
        produce some ugly warnings.
    
    Signed-off-by: Pierre Labastie <pierre.labastie@neuf.fr>
2019-04-17 07:06:13 +00:00
Pierre Labastie
0e4ddfa0c1 Improve top-level jhalfs based on shellcheck
* Various improvements from shellcheck around quoting, the use of
   read, `` vs $() and other logical comparisons
 * Provide a function for sourcing/loading files so we can remove a lot
   of duplication. Move loading of some functions from
   common/common-functions to ./jhalfs for consistency
 * Provide some functions for standardized messaging
 * Remove other duplication in the code, especially checking VERBOSITY
 * Standardize indentation. Two spaces seemed the most prevalent so I
   went with that.

Patch by Jeremy Huntwork, with slight modifications.
2019-04-13 16:31:24 +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
d505128fbc Do not exit on SIGCHLD:
With bash 5.0, a SIGCHLD signal is sent whenever a subshell exits. The signal
numbers passed to the trap instruction in jhalfs contain SIGCHLD, and this
new behavior causes jhalfs to exit. Fix this by using names instead of numbers
for the trap, and (of course) not trapping SIGCHLD.
2019-01-13 08:32:24 +00:00
Pierre Labastie
c7b535b488 Remove the need to have write access to BUILDDIR, using sudi, which is
required anyway. ticket #1715
2018-02-03 16:37:32 +00:00
Pierre Labastie
84a3fda1c3 Do not optimize binutils-pass1 in order to measure the SBU:
- introduce REALSBU variable if Config.in and jhalfs, and display it
- Adpat LFS/master.sh
2018-01-14 10:26:43 +00:00
Pierre Labastie
dc7fd7b7ba Add .la file removal to LFS and BLFS scripts 2018-01-12 19:04:19 +00:00
Pierre Labastie
c672fa87d7 Always create the test-log directory to allow user to "uncomment" test
instructions
2018-01-12 10:42:36 +00:00
Pierre Labastie
f73377282f Fix two bugs:
- LFS_XML variable was forgotten in Config.in
- All customization to $JHALFSDIR have to be done before getting the
  {H,C,}LFS book, so that custom/config/* has to be copied before getting
  the book.
2017-08-10 08:10:43 +00:00
Pierre Labastie
dd08e14af0 Fix whether BLFS_TREE contains BOOK according to branch or tag 2017-08-09 14:00:58 +00:00
Pierre Labastie
200fbdee76 jhalfs: reorder actions: install lfs before custom tools
and blfs
2017-08-09 13:51:40 +00:00
Pierre Labastie
46ac3305f3 Fix the path to the book used when "Rebuild the Makefile" has been selected 2017-04-30 21:50:25 +00:00
Pierre Labastie
945ccaa75e Merge the new_features branch (manully, thanks to svn) 2017-04-09 10:29:32 +00:00
Pierre Labastie
909ee37e1a When asked its version, jhalfs should not return an error code 2017-04-02 09:00:42 +00:00
Pierre Labastie
8d56c87e53 Change version wording 2017-04-02 08:38:45 +00:00
Pierre Labastie
3aa1acdc0d Add checks for the files used by package management functions. Fix #1701 2017-03-19 14:54:28 +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
6c97d02d05 The 7.* tags do not have BOOK in their SVN URLs 2015-03-07 16:23:26 +00:00
Pierre Labastie
4195a401a6 Change the url for downloading CLFS 2015-01-18 15:58:15 +00:00
Pierre Labastie
bb2862d520 Some branches have a BOOK subdirectory and some have not. Trying to work around that... 2014-08-25 13:14:38 +00:00
Pierre Labastie
c4ad7bfd4e Make the use of branches clearer, and allow branches to be used
for CLFS
2014-05-08 16:05:31 +00:00
Pierre Labastie
2c4be7f2b5 The grep iregexp for extracting BLFS_TREE from the working copy has to be modified
to account for the changes in "svn info" ouput with recent versions of svn
2014-03-03 14:34:58 +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
6ed3dd7533 Change the prerequisite tests so that alfs tools are first checked, then blfs,
and the host reqs are tested later
2013-12-15 10:10:25 +00:00