Commit Graph

200 Commits

Author SHA1 Message Date
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Xi Ruoyao
426913ea08
binutils-pass2: workaround "binaries link to host libraries" issue
A very old libtool copy (2009-11-29) is shipped in binutils tarball.  It
does not support sysroot, so the cross-built binutils binaries may link
to libraries from the host distro, if certain libraries are available.

The ideal solution should be updating libtool, as libtool-2.4.6 (in LFS)
has sysroot support.  However, updating libtool for binutils is not
trivial: it would require to rerun autoconf and binutils building system
sticks to autoconf-2.69.  Another issue is the sysroot support for
libtool has introduced a configure option "--with-sysroot", which
conflicts with an already existing option with the same name in
GCC and binutils building system (we are using the GCC/binutils version
of --with-sysroot in chapter 5).

GCC building system has --with-build-sysroot (we are using this for GCC
pass 2) for this issue.  Binutils copied GCC building system, but it
does not respect --with-build-sysroot.

So for now we just edit libtool code to prevent "-L/usr/lib" in
$LFS_TGT_gcc command line.  It should fix the issue about host libiberty
(reported in #lfs-support) as well, but it still need to be confirmed by
someone having such a host.

Tested with a jhalfs run on LFS.
2022-02-10 21:05:33 +08:00
Bruce Dubbs
9c4ff70edf Package updates.
Update to bc-5.2.2.
Update to linux-5.16.8.
Update to binutils-2.38. Requires adding zlib to Chapter 6.
2022-02-09 20:54:15 -06:00
Xi Ruoyao
5ddb2ead5e remove ch6 zlib, and workaround binutils issue
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12108 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-02 07:42:17 +00:00
Bruce Dubbs
0f8a1b64f8 Update to vim-8.2.2433.
Update to iana-etc-20210115. 
Update to bc-3.2.5. 
Update to e2fsprogs-1.46.0. 
Update to autoconf-2.71. 
Update to tzdata-2021a. 
Update to perl-5.32.1. 
Update to libcap-2.47. 
Update to bison-3.7.5. 
Update to binutils-2.36. Requires building zlig in Chapter 6.
Update to linux-5.10.12. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12105 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-01-31 21:48:14 +00:00
Thomas Trepl
67d1e797c3 Move stripping to chap-7
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11916 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-10 19:31:02 +00:00
Pierre Labastie
ce335792fe Add an introduction to chapter 6 and 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11910 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-09 13:35:39 +00:00
Bruce Dubbs
5061bc643a Move changingowner from Chapter 6 to Chapter 7
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11905 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-08 19:44:56 +00:00
Bruce Dubbs
fcc027677d Initial commit of alternative cross LFS
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-07 20:16:00 +00:00
Pierre Labastie
ae7f075dd6 Update to trunk r11877
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11878 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-05-30 18:22:47 +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
Pierre Labastie
effe07a910 Fix circular deps between util-linux and eudev/systemd:
- build util-linux in chapter 5 for both books
- move eudev before util-linux in chapter 6
- make utils-linux libs and headers accessible to /usr in
  "Creating essential ..."
- not related, but forgotten at previous commit: make also libfl flex
  library accessible to /usr

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11817 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-04-19 14:45:08 +00:00
Pierre Labastie
50fdfc80bc Allow bison to use libtextstyle from gettext by moving gettext before bison
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11813 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-04-19 07:42:38 +00:00
Pierre Labastie
2a73970737 Move libcap before shadow so that new{u,g}idmap can use setcap. ticket #4633
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11812 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-04-19 06:25:04 +00:00
Bruce Dubbs
49fb110fde Move eudev to before e2fsprogs
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11804 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-04-03 19:44:36 +00:00
Bruce Dubbs
91c7fab61a Add zstd compression package to Chapter 6
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11725 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-01-12 17:49:07 +00:00
Pierre Labastie
e45f19f97c File-5.38
Vim-8.2.0024
Linux-5.4.6
Python-3.8.1
Some updates in SBU and disk usage

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11711 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-12-22 10:06:21 +00:00
Bruce Dubbs
d86db6b5df Move attr and acl to be before shadow.
Update to linux-5.3.6. 
Update to man-pages-5.03. 
Update to meson-0.52.0. 
Update to Python-3.8.0. 
Update to binutils-2.33.1. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11685 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-10-18 00:08:15 +00:00
DJ Lucas
cc09c074d6 Restore build of Util-Linux in chapter5 to avoid reciprocal dependency for Systemd.
Moved installation of Util-Linux and E2fsprogs after Procps to satisfy build order in the Systemd book. This has no effect on the SysV book.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11473 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-09-30 01:14:36 +00:00
Bruce Dubbs
6c672426f8 Clean up of unneeded symbolic links.
Reordered packages so version specific packages are
built as late as possible in Chapter 6. Now building
util-linux in Chapter 5 is unneeded and has been removed.

Update to eudev-3.2.6. 
Update to elfutils-0.174 (libelf). 
Update to psmisc-23.2. 
Update to openssl-1.1.1. 
Update to linux-4.18.9. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-09-20 17:02:36 +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
e54747517c Move OpenSSL-1.1.0g from BLFS to LFS
to support wireless operations in the linux kernel.

Update to e2fsprogs-1.43.9. 
Update to dbus-1.12.4. 
Update to mpfr-4.0.1. 
Update to linux-4.15.2. 
Update to patch-2.7.6. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11363 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-02-09 21:46:22 +00:00
Bruce Dubbs
a6fccf3edc Update to binutils-2.30.0.
Update to gcc-7.3.0.  
Update to tzdata-2018c.  
Update to linux-4.14.15.  
Move check from Chpater 5 to Chapter 6.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11354 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-01-28 23:09:39 +00:00
DJ Lucas
e03d5e49af Update to Linux-4.14.13.
Add Libelf-0.107.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11350 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-01-12 17:28:42 +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
7a47ddb07d Reorder packages in Chapter 6 so Python can use gdbm.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11308 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-09-24 19:55:12 +00:00
Bruce Dubbs
b0aabe01ad Add Meson-0.42.1.
Add Ninja-1.8.2.
Add Python-3.6.2.
Add libffi-3.2.1.
Update to eudev-3.2.4.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11303 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-09-23 22:22:37 +00:00
Bruce Dubbs
1e472fb9ac Move realline to be before bc in Cahpater 6.
Update to linux-4.10.6.
Update to pkg-config-0.29.2.
Update to tzdata-2017b.
Add option -Dusethreads to perl in Chapter 6.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11212 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-03-29 02:13:40 +00:00
Bruce Dubbs
5fa3da5796 Update to binutils-2.28. Moved m4 and
+          bc to before binutils to accomodate the gold linker 
+          regression tests.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11201 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-03-03 22:53:39 +00:00
Bruce Dubbs
e787b1fe14 Update to dbus-1.10.8.
Update to e2fsprogs-1.43. 
Update to gdbm-1.12. 
Update to iproute2-4.6.0. 
Update to make-4.2. 
Update to systemd-230. 

Add additional explanatory text for sytemctl and journalctl commands.
[chapter07/systemd-custom.xml]



git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11078 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-27 19:55:47 +00:00
Bruce Dubbs
cbd8bf0ff3 Updates after a successful jhalfs build
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11077 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-27 03:38:29 +00:00
Bruce Dubbs
35a5259fe6 Optimize building merged books
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11076 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-25 23:16:12 +00:00
Bruce Dubbs
e408cb0560 Update to coreutils-8.25. Fixes
Simplify bash installation procedures. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10988 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-01-25 00:03:45 +00:00
Bruce Dubbs
e074bae6e2 Fix order of bison and flex needed by new flex version
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10973 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-11-18 21:14:36 +00:00
Krejzi
c26c46ba31 Cosmetic: Move sed after libcap to keep acl, attr and libcap separated.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10674 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-08-03 20:32:47 +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
14accdf2a0 Update to tar-1.28
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10659 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-07-27 22:59:21 +00:00
Bruce Dubbs
78bf0c1739 Instruct perl to use the system bzip2 library
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10658 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-07-27 21:49:13 +00:00
Bruce Dubbs
bf2bd2518c Restore XML::Parser.
Update to tzdata-2014c. 
Update to linux-3.14.4.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10564 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-05-14 17:32:57 +00:00
Bruce Dubbs
7559e33477 Remove XML::Parser.
Enable keymap in eudev.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10563 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-05-12 22:06:59 +00:00
Bruce Dubbs
b3eb5259f1 Remove systemd and dbus. Add eudev.
Update gnu urls to use an entity.
Update kbd URL. 
Update procps-ng URL.  
Update to shadow-4.2.1.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10557 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-05-11 00:11:22 +00:00
Bruce Dubbs
cba2d4e6aa Added systemd and dbus to the book.
Set up systemd and System V side-by-side with the
ability to reboot to either system.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-04-03 21:52:09 +00:00
Bruce Dubbs
28b3209b0a Added libcap-2.24
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10517 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-03-28 02:01:51 +00:00
Bruce Dubbs
bafa318886 Added expat-2.1.0.
Added gperf-3.0.4.
Added intltool-0.50.2.
Added XML::Parser-2.42_01.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10516 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-03-27 02:43:47 +00:00
Bruce Dubbs
eec8fcb880 Add acl and attr packages
Minor grammar fixes
Update standards compliance statments
Put e2fsprogs executables in /bin


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10512 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-03-21 19:34:09 +00:00
Bruce Dubbs
8a75933dcf Remove udev from systemd and replace with eudev
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10504 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-03-06 22:23:22 +00:00
Bruce Dubbs
d02c56d5f5 Update to man-pages-3.5.9.
Incorporate beta FHS.  
    Add /usr/share/ppd, /usr/libexec, /usr/share/color, 
    /usr/local/share/color, /var/lib/color, and /usr/share/dict. 
 
    Remove overrides for /usr/libexec: coreutils, findutils, gawk, 
    gcc, glibc, inetutils, man-db, and tar.
 
    Move grub sbin executables from /usr/sbin to /sbin.

Document two new glibc errors in the regression tests.
 
Move man-db after util-linux to satisfy a test dependency
in /tools and to speed the test up.

Restore building the flex static library.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10469 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-02-16 20:49:53 +00:00
Bruce Dubbs
053b2060bb Moved util-linux final build to be after udev.
Fixed up e2fsprogs and udev to use the Chapter 5 build of util-linux.

Changed umount instructions in Chapter 9 to be compatible with
changes in mounting /run as a tmpfs.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10448 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-01-21 18:49:14 +00:00
Bruce Dubbs
bdde021dcc Update several pages to fix regression test failures.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10316 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-08-15 22:51:06 +00:00
Bruce Dubbs
6c4092b0e7 Update to gcc-4.8.1
Update to util-linux-2.23.1

Added test suites to util-linux, but needed to move shadow
before util-linux to have su available.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10290 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-06-03 18:55:49 +00:00