Commit graph

210 commits

Author SHA1 Message Date
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
Pierre Labastie
0ba80be856 typo 2013-11-17 20:13:04 +00:00
Pierre Labastie
854854e880 - Make the number of parallel jobs configurable in the menuconfig interface
- Allow choosing a working copy of the blfs book
2013-11-16 22:35:25 +00:00
Pierre Labastie
d023a3519f Exit without error if the user answers no 2013-11-16 10:00:16 +00:00
Pierre Labastie
bbcdeab57b Handle errors while installing blfs tools and makes the error
message more accurate
2013-10-30 15:44:46 +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
34d1b6a955 Fix an overlooked modification 2013-10-03 10:25:42 +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
65c998baa5 Add some logic to makefile and jhalfs, so that when exiting the configuration
menu without saving, you have the choice of exiting jhalfs
2013-04-04 20:07:25 +00:00
Pierre Labastie
e650dc782c Adaptation to new tags/branch tree structure 2012-02-22 09:18:56 +00:00
Pierre Labastie
256e8334a2 Bump Sqlite version to 3.7.10 2012-02-14 09:20:57 +00:00
Pierre Labastie
eddf6650af Bump lynx version to 2.8.8dev.10 2012-02-14 09:07:15 +00:00
Matthew Burgess
3158dfaccd Remove GETKERNEL parameter. The kernel has been required for its headers since LFS-6.3. 2012-02-10 22:35:59 +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
George Boudreau
0873ccc013 spelling & grammar changes supplied by Gilles Espinasse 2009-10-23 15:53:53 +00:00
Thomas Pegg
401aac8a19 Change back to trunk versioning 2009-07-31 22:58:20 +00:00
Thomas Pegg
4043fc43b9 Set version for upcoming 2.3.2 release 2009-07-31 22:49:55 +00:00
George Boudreau
75d6d1cbf4 Added menu item to deselect the progress_bar display. Requested by Matthew Burgess 2008-10-27 23:26:29 +00:00
Manuel Canales Esparcia
38ae01f61f Be sure that JHALFSDIR is not set to the jhalfs sources directory.
Thanks to Dan Nicholson for the patch.
2007-09-14 16:56:24 +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
e205afcafa progress_bar.sh don't need be executable. 2007-07-29 11:29:05 +00:00
Manuel Canales Esparcia
339fd84c20 Updated blfs-tool dependencies. 2007-07-28 17:12:00 +00:00