Commit Graph

210 Commits

Author SHA1 Message Date
Xi Ruoyao
d6006ef769
relax host system requirements
A requirement on Glibc is not needed at all.  It's enough once
$LFS_TGT-* is runnable.  A test on Alpine (using musl as libc) has
practically proved this.

We'd raised binutils and GCC requirements mostly for Glibc.  But now
Glibc is cross compiled by our cross toolchain with latest GCC and
binutils release, the host tools really does not matter.  In the Glibc
building process only two .c files are build with BUILD_CC (the C
compiler from the host), and they are highly conservative (mostly
unchanged for years).

Binutils does not have too much requirement on host GCC & Binutils:
there is even a Binutils commit in this week fixing a build failure with
GCC-4.2!

So the most strict limitation comes from GCC.  GCC requires host GCC to
support ISO C++ 11 so GCC >= 4.8 is needed.  And both GCC-4.8 and latest
GCC-11.2 claims a requirement for Binutils-2.12 (for x86_64) or 2.13.1
(for 32-bit x86), so we make minimal Binutils version 2.13.1.

And, host bzip2 is never used now: the only .tar.bz2 files are elfutils
and python docs.  They are not decompressed before entering chroot.
2022-02-19 10:29:47 +08:00
Pierre Labastie
408fb7828b Forgotten eol space in chapter02 2021-09-07 23:03:22 +02:00
Pierre Labastie
a04b192f50 Remove spaces at end o lines - chapter02 2021-09-07 22:46:24 +02:00
Xi Ruoyao
33ca65cbb0
hostreq: fix a hardcoded chapter number 2021-08-18 14:10:43 +08:00
Douglas R. Reno
d7a942197e Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
2021-05-11 23:24:11 -05:00
Xi Ruoyao
34fe7e07cd decorate usernames with <systemitem>
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12071 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-12-26 15:51:54 +00:00
Xi Ruoyao
c0c616a439 fix some typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12029 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-19 15:31:33 +00:00
Xi Ruoyao
e4bdfc541e chapter02/hostreqs: remove hard-pagebreak which is no longer needed (with fop-2.1 on higgs)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11984 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-23 13:32:20 +00:00
Pierre Labastie
bfab1b2d25 remove last ch-system-xxx id's in chapter 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11980 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-22 20:51:45 +00:00
Bruce Dubbs
b99b7d3a6e Update text in cross2 branch Chapter 2.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11912 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-09 17:25:59 +00:00
Pierre Labastie
eb8890f68b Update "building LFS in Stages" for the new layout
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11904 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-08 19:36:30 +00:00
Pierre Labastie
efcb393343 Make the new book
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-05-03 21:02:51 +00:00
Bruce Dubbs
210fc78f29 Update to ncurses-6.2.
Update to man-pages-5.05. 
Update to linux-5.5.3.tar.xz. 
Update timing and disk usage.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11748 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-02-13 18:06:22 +00:00
Pierre Labastie
afcfd745ae Remove unused files and make
idref's more regular

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11746 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-02-09 20:50:38 +00:00
Douglas R. Reno
4e32649dfe Minor typo fix
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11647 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-08-03 00:57:21 +00:00
Bruce Dubbs
fb8cc475c8 Update to linux-5.2.5.
Update to kbd-2.2.0. 
Update to glibc-2.30. 
Update to man-pages-5.02. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11646 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-08-03 00:08:28 +00:00
Bruce Dubbs
637d44bfdf REmove reference to IDE disk drive
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11633 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-07-10 16:11:50 +00:00
Bruce Dubbs
7c6d7821b9 Revert minimum glibc version to previous value
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-02-14 19:14:27 +00:00
Douglas R. Reno
b1a5123dfd Update host system requirements to match glibc-2.29
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11514 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-02-08 23:01:00 +00:00
Bruce Dubbs
a2717960c1 Update to bison-3.3.1.
Update to glibc-2.29. 
Update to libpipeline-1.5.1. 
Update to linux-4.20.6. 
Update to meson-0.49.1. 
Update to mpfr-4.0.2. 
Update to ninja-1.9.0. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11506 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-02-01 23:36:05 +00:00
Bruce Dubbs
76db8d6fa1 Add LANG to vim test instructions.
Ensure grep tests run to completion.
Run gcc tests in Chapter 6 as a non-privileged user.

Move shadow to before gcc so the gcc tests can 
use su to run as a non-privileged user.

Add perl Configure options in Chapter 5 to ensure
no host system libraries are used.

Update minimum make version to 4.0 required by glibc-2.28.
Update bzip2 url to a new location. 
Update to linux-4.17.14. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-08-12 16:35:49 +00:00
Bruce Dubbs
b55310ed25 Remove reference to openssl in BLFS in Chapter 9.
Update minimum host system requirements.   
Added the rationale for including openssl.   
Update to util-linux-2.32.   
Update to meson-0.45.0.   
Update to e2fsprogs-1.44.0.   
Update to linux-4.15.11.   
Update to automake-1.16.1.   
Update to systemd-238.   



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11387 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-03-24 02:08:49 +00:00
Bruce Dubbs
54b3fb5e8c Add warnings about mounting /mnt/lfs and
the export of $LFS if restarting the host system. Add
comments to automate those actions.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11353 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-01-26 20:37:11 +00:00
Bruce Dubbs
25332b5e97 Add comments to the kernel section to change the unwinder option.
Update to linux-4.14.10.  
Update to coreutils-8.29.  
Remove old footer from non-chunks book. 
Make spacing between "Chapter" and digit non breaking. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11344 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-12-31 16:56:07 +00:00
Bruce Dubbs
d76a82b22f Update to automake-1.15.1.
Update to expat-2.2.1. 
Update to psmisc-23.1. 
Update to linux-4.11.5. 
Remove unneeded library check in host requirements.
Fix typos in acl and sed pages.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11258 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-06-22 02:53:21 +00:00
Bruce Dubbs
1af5572aaa More spelling fixes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11252 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-05-14 05:52:34 +00:00
Bruce Dubbs
7eac1a5ed5 Typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11102 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-08-08 21:06:30 +00:00
Bruce Dubbs
23a0f82a9b Update to tzdata-2016f.
Add discussion of Grub Bios Partition.
Fix Makefile for proper total package size calculation.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-07-10 22:42:43 +00:00
Bruce Dubbs
1118b1757d Create branches/merge in svn repo fo rtesting of merged LFS books
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-24 21:24:59 +00:00
Bruce Dubbs
e5cd5e345f Add new section on resuming the LFS build after a reboot
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11063 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-17 01:06:38 +00:00
Bruce Dubbs
72fb9bf997 Moved Host System Requirements to Chapter 2
and made minor editorial changes.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11061 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-16 22:12:01 +00:00
Bruce Dubbs
0d57ec9659 Updated to file-5.27.
Updated to man-pages-4.06.
Updated to linux-4.5.3.
Updated to perl-5.22.2.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11057 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-15 07:33:05 +00:00
Bruce Dubbs
5336641115 Update to gmp-6.1.0.
Clean up Eudev configure options.
Update host requirements to require GCC-4.7 or later.
Clarify that setting and using the LFS variable assumes the bash shell.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10974 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-12-03 23:12:18 +00:00
Bruce Dubbs
7bbd1bdc8a Typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10968 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-10-27 20:14:21 +00:00
Bruce Dubbs
7c4d11a23a Revise version-check.sh to flag bad /bin/sh symlinks
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10967 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-10-25 21:38:38 +00:00
Bruce Dubbs
e4c87dbca1 Reemphasize that /mnt/lfs needs to be set for root
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10958 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-09-30 17:32:12 +00:00
Bruce Dubbs
bfd117be04 Spelling
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10945 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-09-04 19:26:51 +00:00
Bruce Dubbs
5f28defe66 Adjust discussion of LFS envronment variable to be before first use.
Use --with-glibc-version=2.11 in gcc-pass1.
Update to dejagnu-1.5.3.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10886 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-03-31 21:25:42 +00:00
Krejzi
0ee07e59de Use an entity for BLFS URL's.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10818 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-01-23 21:28:48 +00:00
Krejzi
a8871e37cb Fix BLFS links (remove double forward slash) from creatingpartition.xml.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10741 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-09-09 12:00:31 +00:00
Bruce Dubbs
77a264e9f8 Tag LFS-7.6-rc1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10735 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-09-08 06:05:23 +00:00
Bruce Dubbs
0bf4dfe63c Move sed to be after acl.
Remove reference to obsolete /proc/ksyms in modules boot script. 
Change internal references to svn to an entitiy.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10671 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-08-03 02:59:46 +00:00
Bruce Dubbs
448e2261fb Text changes:
Move about LFS to Chapter 2.
  Add intor to Chapter 4.
  Explain why specific symlinks are needed in Chapter 6.
  Remove obsolete reference to old glibc version.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10575 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-06-11 04:57:05 +00:00
Bruce Dubbs
15458da856 Updates for eudev
Minor text changes


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10507 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-03-07 22:45:44 +00:00
Bruce Dubbs
4783efe5de Enable building sulogin in util-linux.
Supress installing sysvinit's sulogin.
Several text updates from Chris Staub.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10386 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-12-08 03:02:53 +00:00
Bruce Dubbs
4e7e16d690 Expand discussion of file system types and
make ext4 the example LFS partition type


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10286 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-05-20 03:00:52 +00:00
Bruce Dubbs
cd591a6b32 Change all refereces to hda to sda
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10218 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-03-24 19:23:53 +00:00
Matthew Burgess
2ca8941c1f Remove trailing whitespace from all files.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10121 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-02-11 20:09:22 +00:00
Bruce Dubbs
cb02946abf Lots of spelling fixes.
Delete the no longer used lsb-bootscripts directory


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9967 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-08-29 20:45:23 +00:00
Bruce Dubbs
da7032a745 Minor grammar/style changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9957 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-08-23 15:30:44 +00:00