Commit graph

410 commits

Author SHA1 Message Date
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
382b083182 Changes in func_install_blfs:
- Add --preserve-timestamps when copying the local BLFS book working copy
  so that if the book has already been validated it is not validated again
- Some scriptlet changes are not needed anymore
2013-12-15 07:46:46 +00:00
Pierre Labastie
bb7f603391 add verbosity to the cleaning process 2013-12-15 07:34:58 +00:00
Pierre Labastie
e58cf15308 improvement of the copy flags when using a BLFS working copy 2013-11-17 07:55:30 +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
bb4b5c3c00 Permission problem again 2013-11-08 22:10:11 +00:00
Pierre Labastie
b2c7742927 Revert a previous fix, which could not work when user clfs did not exist yet 2013-11-06 21:44:09 +00:00
Pierre Labastie
e18f80a34a Fix BLFS tool inclusion for CLFS:
-fix a typo in Makefile (8 spaces to tab...)
-fix permission problems (hopefully)
2013-11-06 20:55:27 +00:00
Pierre Labastie
ef32ce5ea5 Getting mad because you cannot interrupt the build once started?
The present set of commands seems to allow interrupting during the chapter
5 phase. No changes to chroot phase yet.
2013-11-01 14:15:43 +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
3cb4ef5b5a Add versions to file names in logs and test-logs: use it for the SBY report 2013-10-05 17:45:52 +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
b86876a6ef Adapted host requirements checks for CLFS 2013-09-21 18:52:02 +00:00
Pierre Labastie
de84c00168 download and builds the test programs, even if tests are disabled 2013-09-19 15:44:49 +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
809a821b19 Fix missing BOOK/materials and add libee to
MAKEFLAGS blacklist
2013-09-14 21:23:16 +00:00
Pierre Labastie
038678f452 really add the lzma extension for tarballs 2013-09-14 10:48:45 +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
4b1dd337e1 typo 2013-07-22 13:45:15 +00:00
Pierre Labastie
cb29c9cac6 Add /etc/resolv/conf to the list of files to edit at the end 2013-07-22 13:43:25 +00:00
Pierre Labastie
eb14b7fc90 Adapt version check for gawk 2013-06-08 12:19:53 +00:00
Pierre Labastie
8099885218 adaptations to recent modifications in the systemd book and
merging of a change (rev 3750) in the ablfs branch
2013-05-21 20:20:24 +00:00
Pierre Labastie
0700131382 Add the lfs-netscripts case for md5sum test 2013-05-18 20:46:10 +00:00
Pierre Labastie
0f92d7f8ae Adapt func_check_version.sh so that both GCC and Gcc are
recognized in the minimal version table
2013-04-05 15:12:13 +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
eecee981c4 Adding g++ to the version checks 2013-04-03 20:29:46 +00:00
Pierre Labastie
7d109d45f2 Fix bug #1687 2013-03-21 11:02:48 +00:00
Thomas Pegg
f445e26055 Fix bug where if xmllint is not installed, book version information is not extracted to be used for lfs-release,lsb-release and SBU reports.
Added checks in the code to ensure both xmllint and xstlproc are available prior to use.
2013-03-19 01:01:30 +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
06bb141298 fix spacing in echo_finished 2013-03-01 21:12:05 +00:00
Pierre Labastie
80ee2ff07a Update the instructions printed at the end of a jhalfs run
to the new layout of files in chapter 7.
2013-03-01 11:20:35 +00:00
Pierre Labastie
4f700a968d Test the presence of wget, which was not done before, although
it is neede for downloading pacakges
2013-02-19 18:00:22 +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
Matthew Burgess
083e2fd883 Handle systemd-provided Udev. 2012-07-16 19:55:06 +00:00
Pierre Labastie
ea81eb28cc Added the case when sleep is in /usr/bin to progress_bar.sh 2012-04-21 21:22:28 +00:00
Pierre Labastie
48acdd4ecf Change xz version requirement to 5.0.0 as per LFS r9794 2012-03-29 08:20:43 +00:00
Pierre Labastie
bb7de70faf An endef was inadvertenlty removed in last commit 2012-03-15 15:45:20 +00:00
Matthew Burgess
9af9dfa1ef Fix a couple of typos 2012-03-13 23:43:48 +00:00
Pierre Labastie
125e05ec13 Update create-sbu-report so that it works with CLFS
and that it prints the last "Installed file size"
2012-02-28 13:20:40 +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
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
52575b817e Corrected a typo in 911-sqlite 2012-02-14 13:09:49 +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
Pierre Labastie
e639536073 Corrects Makefile generation when some script names are of the form
ddd-d-name, where d represent a digit. This is used for package management
and/or for adding custom scripts (see README)
2012-02-12 18:54:37 +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
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
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
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
Matthew Burgess
608fbe13d0 Fix various issues when building CLFS. 2012-02-09 22:58:45 +00:00
Matthew Burgess
93fd2d011e Fix ICA build and a couple of other miscellaneous issues. Patch courtesy of Pierre Labastie. 2012-02-07 22:30:26 +00:00
Thomas Pegg
b533b78317 Fix a typo. Fixes #1683 2012-02-01 23:59:11 +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
Matthew Burgess
f5dc6d7423 Fix Glibc version detection on 64-bit Debian hosts. Thanks to Pierre Labastie for the report and fix. 2011-12-28 17:41:35 +00:00
Matthew Burgess
ec20730f2b Correctly detect libc.so.6 on x86_64 distros that place it in /lib64 2011-11-30 21:29:55 +00:00
Matthew Burgess
a7e1348cb9 Handle .xz format packages as well as .bz2 and .gz 2011-10-27 07:11:12 +00:00
Thomas Pegg
4b54394ca1 Add handling for the different name of the xz-utils tarball 2011-01-08 00:17:08 +00:00
Matthew Burgess
d8006a00f3 Fix Expect tarball name detection for Expect 5.45. 2010-11-18 19:54:26 +00:00
Thomas Pegg
9d55d85112 Enhance messages produced by jhalfs when files do not exist in either /sources or SRC_ARCHIVE, also in cases when SRC_ARCHIVE is not set. Thanks to Tim Sarbin for the patch. 2010-03-12 03:46:12 +00:00
Thomas Pegg
de63126155 Add configuration options for retry on connection refused, number of times to attemp to download a file, and timeout for wget invocation. Thanks to Tim Sarbin for the patch, slightly modified by me to accomodate a second set of wget calls. 2010-03-12 03:32:25 +00:00
George Boudreau
0850553edb LFS has new build method. Added new vars to LFS/master.sh (JHuntwork) 2008-12-06 15:05:59 +00:00
George Boudreau
2c04c28295 Adjust M4 version check to deal with (GNU M4) in version string 2008-11-04 02:46:27 +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
George Boudreau
15c9e722d5 Added Perl and M4 as host requirements (code:Matthew Burgess) 2008-10-21 21:24:25 +00:00
Thomas Pegg
d4bbfe2067 Add check for makeinfo (texinfo), thanks to Matthew Burgess 2008-10-20 23:33:54 +00:00
George Boudreau
31a37db331 Correction made to allow CLFS to use kernel headers trac# 1681 2008-10-15 17:04:20 +00:00
George Boudreau
cc24cda644 Deal with Ubuntu binutils version report. 2008-10-06 21:13:41 +00:00
Thomas Pegg
134572c8e7 Use continue instead of return, continue allows the loop to continue from the beginning instead of jumping completely out of the function. 2008-10-06 16:27:36 +00:00
George Boudreau
5210ae1ec1 Problem: udev-config and bootscripts have their md5sum generated when the book is created. Ignore md5sum for these 2 packages 2008-08-26 14:16:37 +00:00
George Boudreau
56e487e8e0 Patch: force locale when checking version requirements 2007-12-14 20:30:09 +00:00
Manuel Canales Esparcia
e5842d6984 Changed grep version check. Thanks to Dan Nicholson for the fix. 2007-09-14 16:47:17 +00:00
Manuel Canales Esparcia
68713c9186 Dump build time using Bash $SECONDS internal variable instead of using date calls + Perl-based calculations. 2007-08-17 16:24:47 +00:00
Manuel Canales Esparcia
3abe9d7e29 Actually fixed the race condition. 2007-08-15 17:04:38 +00:00
Manuel Canales Esparcia
1449dd2d0d Test fix to avoid a race condition. 2007-08-15 16:27:56 +00:00
Manuel Canales Esparcia
9695fa7cca Failsafe tests to be sure that we are deleting an existing unpacked sources directory.
Thanks to Petr "Qaxi" Klíma for the report and patch.
2007-08-10 21:24:02 +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
823f608161 Fixed DocBook-XML tracking file when installed via blfs-tool support dependencies. 2007-08-08 17:00:36 +00:00
Manuel Canales Esparcia
12d11369e3 Set Coreutils-5.2.1 as the minimun required version. 2007-08-02 16:44:36 +00:00
Manuel Canales Esparcia
650acce1b8 CLFS: Fixed Sparc64 build flags issues. 2007-07-28 15:40:53 +00:00
Manuel Canales Esparcia
7a84ba7713 Fixed bug in func_compare.sh when running ICA/farce builds on CLFS. 2007-07-28 11:28:34 +00:00
Manuel Canales Esparcia
e05fba2435 DocBook-XSL package is not required for now. 2007-07-24 21:04:34 +00:00
Manuel Canales Esparcia
cf829f0624 func_check_version.sh:
ask the user instead of bomb, to make happy that packages which version
ouput don't follow our expectations
2007-07-24 20:21:18 +00:00
Manuel Canales Esparcia
9436828ae9 CLFS3: Fixed endian setting in uClibc configuration. 2007-07-24 19:22:46 +00:00
Manuel Canales Esparcia
a60ed79b0b Typo fixes. 2007-07-02 20:59:52 +00:00
Manuel Canales Esparcia
a4af921703 HLFS have the same host requeriments than LFS and CLFS. 2007-06-19 22:14:22 +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
6d5844cee3 HLFS: Additional features has been full disabled in the book for now. 2007-06-18 19:52:52 +00:00
Manuel Canales Esparcia
884bf0c636 Typo fix. Thanks to Subhash Chandra. 2007-06-18 17:10:32 +00:00
Manuel Canales Esparcia
7214dad6a3 Fixed iisue with powerpc-utils package name. 2007-06-14 17:02:41 +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
Manuel Canales Esparcia
f54632006b Ported INSTALL_LOG support to all books. 2007-06-03 09:06:13 +00:00
Manuel Canales Esparcia
350625a76a Revising func_validate_configs.sh 2007-05-30 19:50:10 +00:00
Manuel Canales Esparcia
e0e1def40e Updated minimun tar version required. 2007-05-28 16:42:27 +00:00
Manuel Canales Esparcia
c6f33fb32b Sort installed files logs. 2007-05-27 11:57:54 +00:00
Manuel Canales Esparcia
02100141e4 Replaced "time" and "du" by "perl" fot timming and SBU-DU report calculations.
Thanks to Dan Nicholson and Ag. D. Hatzimanikas for the sugestions and patches.
2007-05-26 21:16:18 +00:00
Manuel Canales Esparcia
6dfed89e68 Removed redundant /proc and /dev skip on the installed files find command. 2007-05-19 20:46:36 +00:00
Manuel Canales Esparcia
93346ee11d LFS: Added support for installed files logs.
Should be ported to other books when verified that works as expected.
2007-04-28 15:24:20 +00:00
Manuel Canales Esparcia
3834b6e986 Updated Bison version requeriment. 2007-04-16 20:33:14 +00:00
Manuel Canales Esparcia
962793a098 Added support for host that place home dirs under a directory othen than /home.
Request and partial patch from Mario Lang.
2007-04-13 20:40:38 +00:00
Manuel Canales Esparcia
16938b0ee9 Updated blfs-tool dependencies. 2007-04-13 19:26:35 +00:00
Manuel Canales Esparcia
020f4dc9ce Added Bison to host requisites and fixed minimun GCC version. 2007-03-24 15:01:59 +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
Manuel Canales Esparcia
c180dec974 Don't mess with SHELL settings. 2007-03-19 18:27:00 +00:00
Manuel Canales Esparcia
ace81427f6 Looks like SHELL value need be exported for the progress_bar.sh test to work properly in all cases. 2007-03-18 10:59:28 +00:00
Manuel Canales Esparcia
dbcdfd7f69 Reimplemented support for partial builds. 2007-03-18 10:14:04 +00:00
Manuel Canales Esparcia
b0ba1f0652 Fix segfault on tools stripping phase. 2007-03-18 09:46:24 +00:00
Manuel Canales Esparcia
daa489df5d Removed unmaintained PACO patch. 2007-03-03 11:58:40 +00:00
George Boudreau
79da2977ad added function to file makefile_functions and added call in HLFS and CLFS master.sh 2007-03-02 00:09:55 +00:00
Manuel Canales Esparcia
b230bd6f0a CLFS3 don't have a stripping page. 2007-02-26 20:35:33 +00:00
Manuel Canales Esparcia
aec44836a5 Fixed SHELL setting to work also when resuming failed builds. 2007-02-26 20:18:52 +00:00
Manuel Canales Esparcia
7fe73c8e36 Actually fixed echo_report output. 2007-02-25 19:24:17 +00:00
Manuel Canales Esparcia
fc87e138a4 Fixed echo_report console output look. 2007-02-25 09:56:35 +00:00
Manuel Canales Esparcia
39a93a45a0 Typo fix. 2007-02-25 09:44:08 +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
6d73498400 Fixed progress_bar.sh run inside chroot jail. 2007-02-17 16:26:34 +00:00
Manuel Canales Esparcia
1330ebc253 Fixed chroot environment to be more closed to the one expected by the books.
Need be full tested.
2007-02-17 02:08:46 +00:00
Manuel Canales Esparcia
81f7dc1ed0 Make SHELL=/bin/bash a Makefile variable instead using it inside the sub-make invocations to avoid be propagated to make processes started by the actual build scripts. 2007-02-16 18:24:19 +00:00
George Boudreau
9bbf240aa7 Added WRT scripts to CLFS-Embedded 2007-02-15 19:15:05 +00:00
Manuel Canales Esparcia
a9ca77ff02 Fixed FTP mirror path for CLFSx books. 2007-02-13 19:21:34 +00:00
Manuel Canales Esparcia
3e7ceed256 Ported CUSTOM_TOOLS support to all books. 2006-12-15 10:53:10 +00:00
Manuel Canales Esparcia
cd4466fbd9 Added BLFS_TOOL support to CLFS2 and some bug fixes. 2006-12-11 18:21:16 +00:00
Manuel Canales Esparcia
37002aec07 HLFS: Fixed MAKEDEV download.
Solved /dev/console and /dev/null issue.
Removed a hardcoded script number.
2006-12-10 10:43:20 +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
6bb080e696 Revised compare code. Test build in progres. 2006-12-04 20:58:09 +00:00
Manuel Canales Esparcia
f221c2c815 Solved download from sourceforge URLs 2006-12-04 17:47:37 +00:00
George Boudreau
3c38ab0985 Adapted to clfs bootscript naming convention 2006-12-02 22:11:32 +00:00
Manuel Canales Esparcia
e780eda437 Fixed a bug generated by r3224 commit.
Thanks to Matthew Burgess for the report and patch.
2006-11-28 19:14:13 +00:00
Manuel Canales Esparcia
72883d3091 Look fix. 2006-11-16 18:34:59 +00:00
Manuel Canales Esparcia
ee728b3569 Some config fixes. 2006-11-16 18:31:27 +00:00
George Boudreau
9c1838ba25 Added missing case statement for clfs3 2006-11-15 21:41:07 +00:00
Manuel Canales Esparcia
62d690d2ec Now HLFS is using kernel headers. 2006-11-15 19:39:00 +00:00
Manuel Canales Esparcia
1838bc7f42 Changed how create-sbu_du-report target is created.
Added blfs-tool support to HLFS.
2006-11-12 13:50:34 +00:00
Manuel Canales Esparcia
1f81129de6 Reordered makefile_functions. 2006-11-12 12:10:25 +00:00
Manuel Canales Esparcia
8f2c0862e9 Functions clean-up. 2006-11-11 21:20:15 +00:00
Manuel Canales Esparcia
195ed9f9a9 Moved Makefile header creation to a common function. 2006-11-11 19:55:13 +00:00
Manuel Canales Esparcia
fe30c61a75 Splitted common-functions. 2006-11-11 19:06:46 +00:00
Manuel Canales Esparcia
47b363c097 Renamed file for consistency. 2006-11-11 17:47:43 +00:00
Manuel Canales Esparcia
c917342708 Moved current functions library files to libs directory. 2006-11-11 17:20:27 +00:00
Manuel Canales Esparcia
91ff6a9e0c Replaced /bin/sh by /bin/bash 2006-11-11 11:39:16 +00:00