Commit graph

109 commits

Author SHA1 Message Date
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
2e1c1c3c16 Remove spaces at the end of lines 2018-01-13 09:08:56 +00:00
Pierre Labastie
e6ed1a1de7 Warn before cleaning BUILDDIR; see #1711 2017-11-01 14:40:53 +00:00
Pierre Labastie
9556f88088 Missing word in a comment 2017-11-01 14:40:09 +00:00
Pierre Labastie
fb63ddff14 No need for $() in if command 2017-11-01 14:39:34 +00:00
Pierre Labastie
bb7f603391 add verbosity to the cleaning process 2013-12-15 07:34:58 +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
57ec8958ed Add "run" to the list of
removed directories when cleaning
jhalfs.
2013-01-11 13:27:58 +00:00
Pierre Labastie
21cab345b3 Add lib64 to the list of
removed directories when cleaning the
build directory
2012-12-30 16:26:22 +00:00
Pierre Labastie
8ea21f8684 Fix a warning when $BUILDDIR/sources is empty and "Rebuild files" is done 2012-02-22 10:18:02 +00:00
Pierre Labastie
92256610ee Correct testing of emptyness of builddir, which may fail if
the user lacks read permissions on some dir (root, lost+found...)
2012-02-10 13:56:57 +00:00
Pierre Labastie
d7390a52cf Changes the logic of "rebuild files" so that jhalfs does not stop if this item is ticked and the build dir is empty 2012-02-10 09:33: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
3cb432a02c Small typo fix. 2007-02-18 12:39:27 +00:00
Manuel Canales Esparcia
a5e3400f3a Fixed clean_buildir function to handle properly dev, proc, and sys directories. 2007-02-18 12:37:10 +00:00
Manuel Canales Esparcia
10c8b78425 More compare and related fixes.
Test build in progress.
2006-12-05 15:25:00 +00:00
Manuel Canales Esparcia
fe30c61a75 Splitted common-functions. 2006-11-11 19:06:46 +00:00
George Boudreau
2639f65b55 Initial commit of CLFS3 changes, pt2. 2006-11-11 00:09:42 +00:00
Manuel Canales Esparcia
e66ee706d1 Small change required by customization support. 2006-11-10 14:33:23 +00:00
George Boudreau
91bac7ff07 Remove -e switch from generated Makefile and replaced needed \n \t with string constants nl_ and tab_ 2006-11-06 21:25:22 +00:00
Manuel Canales Esparcia
7c24cf0960 Removed unneeded & 2006-11-06 21:07:21 +00:00
Manuel Canales Esparcia
8bea2c8811 Fixed du bug related to lost+found permissions.
Using PRT_DU and PRT_DU_CHR in all places.
Using logs/$@ in all places.
Fixed du meassurament in LFS build for changingowner and kernfs scripts.
2006-11-01 15:41:52 +00:00
Manuel Canales Esparcia
9a536f733c Merged cunstomization code from experimental branch.
Let trunk to be broken for a while...
2006-10-14 17:22:29 +00:00
Manuel Canales Esparcia
5468631e31 Fixed clean_builddir() 2006-10-07 19:11:58 +00:00
George Boudreau
64c9caf20b Handle massaged headers or kernel headers 2006-10-05 01:07:15 +00:00
George Boudreau
cbc8ba25e3 Corrections to blfs-tools scripts. Added missing tidy_docs download and code 2006-10-03 19:52:33 +00:00
Manuel Canales Esparcia
045b2dc1ce Merged r3043:3145 from experimental:
New Makefile code and other improvements.
2006-10-02 19:32:06 +00:00
George Boudreau
d44206f9ea Applied Dan Nicholson's changes to progress_bar.sh and its support code 2006-09-13 20:30:00 +00:00
Manuel Canales Esparcia
f4caf9cd7f Full removed support for keymap compilation into the kernel. 2006-09-11 18:47:51 +00:00
George Boudreau
05d1b17d82 I do not know why this change is needed.. it causes and error exit otherwise 2006-08-29 23:35:37 +00:00
Manuel Canales Esparcia
4965fa8396 Merged r3073:3085 from experimental:
blfs-tool support integration.
2006-08-29 18:18:06 +00:00
Manuel Canales Esparcia
4da2512b16 Merged r3068:3072 from expoerimental:
cmdline and config files support removal.
2006-08-29 18:16:27 +00:00
George Boudreau
3619bc52cc Fix bug when ICA/farce testing selected 2006-08-28 19:42:25 +00:00
George Boudreau
ddc0d9afc4 correct a fatal error when running ICA/farce tests 2006-08-27 23:55:43 +00:00
George Boudreau
4275c72815 corrected typo in chroot2 function, tnx Tor 2006-08-18 17:01:21 +00:00
Manuel Canales Esparcia
401f81e4da Ported Makefile clean-up and 0/1 to n/y migration code from experimental.
There is no obvious bugs, let users to find hidden bugs.
2006-08-16 17:42:54 +00:00
Manuel Canales Esparcia
a7057086d9 Merged menuconfig code from experimental.
Added clfs2 symlink (required by menuconfig)
2006-08-11 18:02:51 +00:00
Manuel Canales Esparcia
6ad5a2fbb7 Ported LUSER code and last CLFS2 fix from experimental. 2006-08-08 17:26:40 +00:00
Manuel Canales Esparcia
983db9f6aa Ported from experimental linux-header package name fix. 2006-08-06 10:21:30 +00:00
Manuel Canales Esparcia
cfaeeb4e6b Revised CLFS2 XSL code. 2006-08-05 18:23:46 +00:00
Manuel Canales Esparcia
28f47563a6 Added config option to allow to bommb in test suites faiures. 2006-08-05 14:51:11 +00:00
Manuel Canales Esparcia
d81c640cfa Ported the new HLFS code from experimental branch. 2006-07-30 10:17:29 +00:00
George Boudreau
cb39f79545 added missing parameter to config file and removed unecessary code from common_functions 2006-07-25 23:08:29 +00:00
George Boudreau
d385453064 numerous grammar/spelling corrections provided by Chris Staub 2006-07-24 12:29:45 +00:00
George Boudreau
7432834d16 Begin coding against the CLFS-2.0 book 2006-07-23 14:44:13 +00:00
George Boudreau
3dc772921f text change only 2006-07-17 18:42:40 +00:00
Manuel Canales Esparcia
a6655ffd7d Avoiding hardcoded supported books versions. 2006-07-16 10:06:03 +00:00
George Boudreau
7eb9402d4d The never ending story of cleaning up CLFS scripts.. 2006-07-04 02:02:48 +00:00
George Boudreau
e5f5970062 more corrections to CLFS scripts. 2006-07-03 23:49:13 +00:00
George Boudreau
ac1d897a7a Small correction to CLFS master.sh, bring it in line with the book.
Added to README.
2006-07-03 17:42:30 +00:00