[lfs-book] r11892 - trunk/BOOK/chapter07

2020-06-01 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Mon Jun  1 13:38:04 2020
New Revision: 11892

Log:
Tweak /etc/hosts file

Modified:
   trunk/BOOK/chapter07/network.xml
   trunk/BOOK/chapter07/networkd.xml

Modified: trunk/BOOK/chapter07/network.xml
==
--- trunk/BOOK/chapter07/network.xmlMon Jun  1 13:19:10 2020(r11891)
+++ trunk/BOOK/chapter07/network.xmlMon Jun  1 13:38:04 2020(r11892)
@@ -208,7 +208,7 @@
 cat > /etc/hosts << "EOF"
 # Begin /etc/hosts
 
-127.0.0.1 localhost
+127.0.0.1 localhost.localdomain localhost
 127.0.1.1  

 <192.168.1.1> 
 
 [alias1] [alias2 
...]
 ::1   localhost ip6-localhost ip6-loopback

Modified: trunk/BOOK/chapter07/networkd.xml
==
--- trunk/BOOK/chapter07/networkd.xml   Mon Jun  1 13:19:10 2020(r11891)
+++ trunk/BOOK/chapter07/networkd.xml   Mon Jun  1 13:38:04 2020(r11892)
@@ -294,7 +294,7 @@
 cat > /etc/hosts << "EOF"
 # Begin /etc/hosts
 
-127.0.0.1 localhost
+127.0.0.1 localhost.localdomain localhost
 127.0.1.1  

 ::1   localhost ip6-localhost ip6-loopback
 ff02::1   ip6-allnodes
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11891 - trunk/BOOK/chapter03

2020-06-01 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Mon Jun  1 13:19:10 2020
New Revision: 11891

Log:
Typo

Modified:
   trunk/BOOK/chapter03/introduction.xml

Modified: trunk/BOOK/chapter03/introduction.xml
==
--- trunk/BOOK/chapter03/introduction.xml   Mon Jun  1 13:07:40 2020
(r11890)
+++ trunk/BOOK/chapter03/introduction.xml   Mon Jun  1 13:19:10 2020
(r11891)
@@ -70,7 +70,7 @@
 
   To download all of the packages and patches by using
   wget-list as an input to the
-  wget caoomad, use:
+  wget command, use:
 
 wget --input-file=wget-list --continue 
--directory-prefix=$LFS/sources
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11890 - trunk/BOOK/chapter03

2020-06-01 Thread bdubbs--- via lfs-book
Author: bdubbs
Date: Mon Jun  1 13:07:40 2020
New Revision: 11890

Log:
Elaborate how to get needed LFS files

Modified:
   trunk/BOOK/chapter03/introduction.xml

Modified: trunk/BOOK/chapter03/introduction.xml
==
--- trunk/BOOK/chapter03/introduction.xml   Mon Jun  1 07:38:33 2020
(r11889)
+++ trunk/BOOK/chapter03/introduction.xml   Mon Jun  1 13:07:40 2020
(r11890)
@@ -49,9 +49,28 @@
 
 chmod -v a+wt 
$LFS/sources
 
-  An easy way to download all of the packages and patches is by using
-  wget-list as an input to
-  wget. For example:
+  There are several ways to optain all the necessary packages and patches
+  to build LFS:
+
+  
+
+  The files can be downloaded individually as described in the 
+  next two sections.
+
+
+  For stable versions of the book, a tarball of all the needed files 
+  can be downloaded from one of the LFS files mirrors listed at
+  http://www.linuxfromscratch.org/mirrors.html#files"/>.
+
+
+  The files can be downloaded using wget and
+  a wget-list as described below.
+
+  
+
+  To download all of the packages and patches by using
+  wget-list as an input to the
+  wget caoomad, use:
 
 wget --input-file=wget-list --continue 
--directory-prefix=$LFS/sources
 
@@ -61,7 +80,10 @@
   $LFS/sources and run:
 
 pushd $LFS/sources
-md5sum -c md5sums
+  md5sum -c md5sums
 popd
 
+  This check can be used after retrieving the needed files with any of 
the 
+  methods listed above.
+
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] [LFS Trac] #4662: linux-5.7

2020-06-01 Thread LFS Trac via lfs-book
#4662: linux-5.7
+--
 Reporter:  bdubbs  |  Owner:  lfs-book
 Type:  task| Status:  new
 Priority:  normal  |  Milestone:  9.2
Component:  Book|Version:  SVN
 Severity:  normal  |   Keywords:
+--
 New minor version.  I'd like to wait until at least version 5.7.1.

--
Ticket URL: 
LFS Trac 
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11888 - branches/cross-chap5/chapter01

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 07:35:49 2020
New Revision: 11888

Log:
Rewrite "How to Build an LFS System" for cross chapter 5

Modified:
   branches/cross-chap5/chapter01/how.xml

Modified: branches/cross-chap5/chapter01/how.xml
==
--- branches/cross-chap5/chapter01/how.xml  Mon Jun  1 07:30:32 2020
(r11887)
+++ branches/cross-chap5/chapter01/how.xml  Mon Jun  1 07:35:49 2020
(r11888)
@@ -52,31 +52,36 @@
   or to unpack the tar package, you need tar.
 
also shows you how to
-  build a first pass of the toolchain, including Binutils and GCC (first pass
-  basically means these two core packages will be reinstalled).
+  build a C cross-compiling toolchain as a first step, including binutils
+  and GCC. Cross-compiling is not absolutely needed since the machine we'll
+  run LFS on is the same as the one we build on, but it has the advantage
+  of clearly separating the already installed system and the future LFS one.
   The next step is to build Glibc, the C library. Glibc will be compiled by
-  the toolchain programs built in the first pass. Then, a second pass of the
-  toolchain will be built. This time, the toolchain will be dynamically linked
-  against the newly built Glibc. The remaining  packages are built using this second
-  pass toolchain. When this is done, the LFS installation process will no
-  longer depend on the host distribution, with the exception of the running
-  kernel. 
+  the toolchain programs built previously. Then, the missing bits for a
+  C++ cross-compiling toolchain will be built. It is then possible to build
+  packages that are needed to resolve circular dependencies in such a way
+  that the produced executables and libraries are completely independent
+  from the installed distribution.
+
+  The remainder of  adds
+  the packages necessary to get a complete build environment. This is done
+  after running the chroot (change root) program to enter
+  a virtual environment and start a new shell whose root directory will be
+  set to the LFS partition. This is very similar to rebooting and instructing
+  the kernel to mount the LFS partition as the root partition. The system
+  does not actually reboot, but instead uses chroot
+  because creating a bootable system requires additional work which is not 
+  ecessary just yet. The major advantage is that chrooting
+  allows to isolate the build process from the installed distribution, while
+  using the installed kernel.
 
   This effort to isolate the new system from the host distribution may
   seem excessive. A full technical explanation as to why this is done is
   provided in .
 
-   begins with installing the
-  remaining packages needed to build and test the final toolchain. Then, the
-  full LFS system is built. But first, the chroot (change
-  root) program is used to enter a virtual environment and start a new shell
-  whose root directory will be set to the LFS partition. This is very similar
-  to rebooting and instructing the kernel to mount the LFS partition as the
-  root partition. The system does not actually reboot, but instead uses
-  chroot because creating a bootable system requires
-  additional work which is not necessary just yet. The major advantage is
-  that chrooting allows you to continue using the host system
+  In , The
+  full LFS system is built. Another advantage provided by the chroot
+  environment is that it allows you to continue using the host system
   while LFS is being built. While waiting for package compilations to
   complete, you can continue using your computer as normal.
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11889 - in branches/cross-chap5: chapter01 chapter06

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 07:38:33 2020
New Revision: 11889

Log:
Update to upstream r11887

Modified:
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/chapter06/bash.xml

Modified: branches/cross-chap5/chapter01/changelog.xml
==
--- branches/cross-chap5/chapter01/changelog.xmlMon Jun  1 07:35:49 
2020(r11888)
+++ branches/cross-chap5/chapter01/changelog.xmlMon Jun  1 07:38:33 
2020(r11889)
@@ -58,6 +58,17 @@
   2020-05-29
   
 
+  [xry111] - Move flex earlier in chapter 6, so that binutils
+  can use it.
+
+
+  [xry111] - Remove bzip2 and flex from chapter 5.
+
+
+  [xry111] - Move zstd earlier in chapter 6, so that file and
+  GCC can use it.
+
+
   [bdubbs] - Run sed and findutils tests as an
   unprivileged user. Fixes
   #4661.

Modified: branches/cross-chap5/chapter06/bash.xml
==
--- branches/cross-chap5/chapter06/bash.xml Mon Jun  1 07:35:49 2020
(r11888)
+++ branches/cross-chap5/chapter06/bash.xml Mon Jun  1 07:38:33 2020
(r11889)
@@ -83,14 +83,14 @@
 su tester << EOF
 PATH=$PATH make tests < $(tty)
 EOF
-
+
 Install the package and move the main executable to
 /bin:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11887 - in trunk/BOOK: chapter01 chapter06

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 07:30:32 2020
New Revision: 11887

Log:
Document xry111 changes in changelog, and remove the paragraph about bash test
results (they all pass now)

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/bash.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Mon Jun  1 05:21:38 2020(r11886)
+++ trunk/BOOK/chapter01/changelog.xml  Mon Jun  1 07:30:32 2020(r11887)
@@ -58,6 +58,17 @@
   2020-05-29
   
 
+  [xry111] - Move flex earlier in chapter 6, so that binutils
+  can use it.
+
+
+  [xry111] - Remove bzip2 and flex from chapter 5.
+
+
+  [xry111] - Move zstd earlier in chapter 6, so that file and
+  GCC can use it.
+
+
   [bdubbs] - Run sed and findutils tests as an
   unprivileged user. Fixes
   #4661.

Modified: trunk/BOOK/chapter06/bash.xml
==
--- trunk/BOOK/chapter06/bash.xml   Mon Jun  1 05:21:38 2020(r11886)
+++ trunk/BOOK/chapter06/bash.xml   Mon Jun  1 07:30:32 2020(r11887)
@@ -83,14 +83,14 @@
 su tester << EOF
 PATH=$PATH make tests < $(tty)
 EOF
-
+
 Install the package and move the main executable to
 /bin:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11886 - branches/cross-chap5/stylesheets/lfs-xsl

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 05:21:38 2020
New Revision: 11886

Log:
Update to upstream r11885

Modified:
   branches/cross-chap5/stylesheets/lfs-xsl/lfs.css

Modified: branches/cross-chap5/stylesheets/lfs-xsl/lfs.css
==
--- branches/cross-chap5/stylesheets/lfs-xsl/lfs.cssMon Jun  1 02:45:53 
2020(r11885)
+++ branches/cross-chap5/stylesheets/lfs-xsl/lfs.cssMon Jun  1 05:21:38 
2020(r11886)
@@ -162,6 +162,8 @@
 
 div.navheader {
   border-bottom: 1px solid #dbddec;
+   position: sticky;
+   top: 0;
 }
 
 div.navfooter {
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] LFS Package Currency Check - 2020-06-01 10:50:01 GMT

2020-06-01 Thread bdubbs--- via lfs-book
Package LFS  Upstream  Flag

acl 2.2.53 2.2.53 
attr2.4.48 2.4.48 
autoconf2.69   2.69   
automake1.16.2 1.16.2 
bash5.05.0
bc  2.7.2  2.7.2  
binutils2.34   2.34   
bison   3.6.2  3.6.2  
bzip2   1.0.8  1.0.8  
check   0.14.0 0.14.0 
coreutils   8.32   8.32   
dbus1.12.161.12.16
dejagnu 1.6.2  1.6.2  
diffutils   3.73.7
e2fsprogs   1.45.6 1.45.6 
elfutils0.179  0.179  
eudev   3.2.9  3.2.9  
expat   2.2.9  2.2.9  
expect  5.45.4 5.45.4 
file5.38   5.38   
findutils   4.7.0  4.7.0  
flex2.6.4  2.6.4  
gawk5.1.0  5.1.0  
gcc 10.1.0 10.1.0 
gdbm1.18.1 1.18.1 
gettext 0.20.2 0.20.2 
glibc   2.31   2.31   
gmp 6.2.0  6.2.0  
gperf   3.13.1
grep3.43.4
groff   1.22.4 1.22.4 
grub2.04   2.04   
gzip1.10   1.10   
iana-etc20200429   20200429   
inetutils   1.9.4  1.9.4  
intltool0.51.0 0.51.0 
iproute25.6.0  5.6.0  
kbd 2.2.0  2.2.0  
kmod27 27 
less551551
lfs-bootscripts 20191031   20191031   
libcap  2.34   2.34   
libffi  3.33.3
libpipeline 1.5.2  1.5.2  
libtool 2.4.6  2.4.6  
linux   5.6.15 5.7*
m4  1.4.18 1.4.18 
make4.34.3
man-db  2.9.1  2.9.1  
man-pages   5.06   5.06   
meson   0.54.2 0.54.2 
mpc 1.1.0  1.1.0  
mpfr4.0.2  4.0.2  
ninja   1.10.0 1.10.0 
ncurses 6.26.2
openssl 1.1.1g 1.1.1g 
patch   2.7.6  2.7.6  
perl5.30.2 5.30.2 
pkg-config  0.29.2 0.29.2 
procps-ng   3.3.16 3.3.16 
psmisc  23.3   23.3   
Python  3.8.3  3.8.3  
readline8.08.0
sed 4.84.8
shadow  4.8.1  4.8.1  
sysklogd1.5.1  1.5.1  
systemd 245245
sysvinit2.96   2.96   
tar 1.32   1.32   
tcl 8.6.10 8.6.10 
texinfo 6.76.7
tzdata  2020a  2020a  
udev-lfs20171102   20171102   
util-linux  2.35.2 2.35.2 
vim 8.2.0814   8.2.0869   *
XML-Parser  2.46   2.46   
xz  5.2.5  5.2.5  
zlib1.2.11 1.2.11 
zstd1.4.5  1.4.5  

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11885 - in branches/cross-chap5: chapter05 chapter06

2020-06-01 Thread pierre--- via lfs-book
Author: pierre
Date: Mon Jun  1 02:45:53 2020
New Revision: 11885

Log:
Fixes due to the new layout

Modified:
   branches/cross-chap5/chapter05/chapter05.xml
   branches/cross-chap5/chapter06/bzip2.xml

Modified: branches/cross-chap5/chapter05/chapter05.xml
==
--- branches/cross-chap5/chapter05/chapter05.xmlSun May 31 13:15:18 
2020(r11884)
+++ branches/cross-chap5/chapter05/chapter05.xmlMon Jun  1 02:45:53 
2020(r11885)
@@ -44,7 +44,7 @@
   http://www.w3.org/2001/XInclude"; 
href="createfiles.xml"/>
   http://www.w3.org/2001/XInclude"; 
href="libstdc++-pass2.xml"/>
   http://www.w3.org/2001/XInclude"; href="bison.xml"/>
-  http://www.w3.org/2001/XInclude"; href="flex.xml"/>
+
   http://www.w3.org/2001/XInclude"; href="gettext.xml"/>
   http://www.w3.org/2001/XInclude"; href="perl.xml"/>
   http://www.w3.org/2001/XInclude"; href="python.xml"/>

Modified: branches/cross-chap5/chapter06/bzip2.xml
==
--- branches/cross-chap5/chapter06/bzip2.xmlSun May 31 13:15:18 2020
(r11884)
+++ branches/cross-chap5/chapter06/bzip2.xmlMon Jun  1 02:45:53 2020
(r11885)
@@ -90,7 +90,10 @@
 
 cp -v bzip2-shared /bin/bzip2
 cp -av libbz2.so* /lib
-rm -v /usr/bin/{bunzip2,bzcat,bzip2}
+ln -sv ../../lib/libbz2.so.1.0 $LFS/usr/lib/libbz2.so
+rm -v /usr/bin/{bunzip2,bzcat,bzip2}
+ln -sv bzip2 /bin/bunzip2
+ln -sv bzip2 /bin/bzcat
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page