[lfs-book] r11563 - trunk/BOOK/appendices

2019-03-26 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Mar 26 12:56:02 2019
New Revision: 11563

Log:
Update systemd and meson dependencies

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Tue Mar 26 05:13:46 2019
(r11562)
+++ trunk/BOOK/appendices/dependencies.xml  Tue Mar 26 12:56:02 2019
(r11563)
@@ -1820,7 +1820,7 @@
 
 
 
-  None
+  Systemd
 
   
 
@@ -2412,7 +2412,7 @@
 
  Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Expat, Gawk,
  GCC, Glibc, Gperf, Grep, Intltool, Libcap,
- Make, Sed, and Util-linux
+ Meson, Sed, and Util-linux
 
   
 
@@ -2436,7 +2436,10 @@
 
 
 
-  None
+  Many, see
+BLFS
+systemd page
+  
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11597 - trunk/BOOK/chapter06

2019-05-10 Thread xry111--- via lfs-book
Author: xry111
Date: Fri May 10 11:45:49 2019
New Revision: 11597

Log:
Fix check docdir

Modified:
   trunk/BOOK/chapter06/check.xml

Modified: trunk/BOOK/chapter06/check.xml
==
--- trunk/BOOK/chapter06/check.xml  Thu May  9 18:56:51 2019(r11596)
+++ trunk/BOOK/chapter06/check.xml  Fri May 10 11:45:49 2019(r11597)
@@ -42,7 +42,8 @@
 
 Prepare Check for compilation:
 
-./configure 
--prefix=/usr
+./configure --prefix=/usr
+--docdir=/usr/share/doc/check-
 
 Build the package:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11599 - trunk/BOOK/chapter06

2019-05-10 Thread xry111--- via lfs-book
Author: xry111
Date: Fri May 10 21:06:55 2019
New Revision: 11599

Log:
Only symlink shared lib{blkid,mount,uuid} for systemd

Modified:
   trunk/BOOK/chapter06/systemd.xml

Modified: trunk/BOOK/chapter06/systemd.xml
==
--- trunk/BOOK/chapter06/systemd.xmlFri May 10 13:08:49 2019(r11598)
+++ trunk/BOOK/chapter06/systemd.xmlFri May 10 21:06:55 2019(r11599)
@@ -52,7 +52,7 @@
 Because we have not yet installed the final version of Util-Linux,
 create links to the libraries in the approprite location:
 
-for file in /tools/lib/lib{blkid,mount,uuid}*; 
do
+for file in 
/tools/lib/lib{blkid,mount,uuid}.so*; do
 ln -sf $file /usr/lib/
 done
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11604 - trunk/BOOK/chapter06

2019-05-13 Thread xry111--- via lfs-book
Author: xry111
Date: Mon May 13 08:08:16 2019
New Revision: 11604

Log:
Remove a file to allow user login without systemd-logind

Modified:
   trunk/BOOK/chapter06/systemd.xml

Modified: trunk/BOOK/chapter06/systemd.xml
==
--- trunk/BOOK/chapter06/systemd.xmlSat May 11 04:00:01 2019(r11603)
+++ trunk/BOOK/chapter06/systemd.xmlMon May 13 08:08:16 2019(r11604)
@@ -198,15 +198,11 @@
 
 systemd-machine-id-setup
 
-Create the /lib/systemd/systemd-user-sessions
-script to allow unprivileged user logins without
+Stop systemd to create /run/nologin
+to allow unprivileged user logins without
 systemd-logind:
 
-cat  /lib/systemd/systemd-user-sessions 
 "EOF"
-#!/bin/bash
-rm -f /run/nologin
-EOF
-chmod 755 /lib/systemd/systemd-user-sessions
+rm -f 
/usr/lib/tmpfiles.d/systemd-nologin.conf
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11593 - trunk/BOOK/chapter06

2019-05-07 Thread xry111--- via lfs-book
Author: xry111
Date: Tue May  7 03:53:08 2019
New Revision: 11593

Log:
Update GCC testsuite failures

Modified:
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/chapter06/gcc.xml
==
--- trunk/BOOK/chapter06/gcc.xmlMon May  6 23:18:30 2019(r11592)
+++ trunk/BOOK/chapter06/gcc.xmlTue May  7 03:53:08 2019(r11593)
@@ -114,10 +114,6 @@
 
 ulimit -s 32768
 
-Remove one test known to cause a problem:
-
-rm 
../gcc/testsuite/g++.dg/pr83239.C
-
 Test the results as a non-privileged user, but do not stop at 
errors:
 
 chown -Rv nobody . 
@@ -137,6 +133,12 @@
 Six tests related to get_time are known to fail.  These are
 apparantly related to the en_HK locale.
 
+Two tests named lookup.cc and reverse.cc in experimental/net
+are known to fail in LFS chroot environment because they require
+/etc/hosts and iana-etc.
+
+Two tests named pr57193.c and pr90178.c are known to fail.
+
 A few unexpected failures cannot always be avoided. The GCC 
developers
 are usually aware of these issues, but have not resolved them yet.
 Unless the test results are vastly different from those at the above URL,
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11594 - in trunk/BOOK: chapter05 chapter06

2019-05-08 Thread xry111--- via lfs-book
Author: xry111
Date: Wed May  8 00:10:42 2019
New Revision: 11594

Log:
Remove useless option in GCC (pass 1 and final)

In GCC 9.1 release libmpx has been removed.  So --disable-libmpx is no
longer needed.

Modified:
   trunk/BOOK/chapter05/gcc-pass1.xml
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/chapter05/gcc-pass1.xml
==
--- trunk/BOOK/chapter05/gcc-pass1.xml  Tue May  7 03:53:08 2019(r11593)
+++ trunk/BOOK/chapter05/gcc-pass1.xml  Wed May  8 00:10:42 2019(r11594)
@@ -144,7 +144,6 @@
 --disable-threads  \
 --disable-libatomic\
 --disable-libgomp  \
---disable-libmpx   \
 --disable-libquadmath  \
 --disable-libssp   \
 --disable-libvtv   \

Modified: trunk/BOOK/chapter06/gcc.xml
==
--- trunk/BOOK/chapter06/gcc.xmlTue May  7 03:53:08 2019(r11593)
+++ trunk/BOOK/chapter06/gcc.xmlWed May  8 00:10:42 2019(r11594)
@@ -63,7 +63,6 @@
  --enable-languages=c,c++ \
  --disable-multilib   \
  --disable-bootstrap  \
- --disable-libmpx \
  --with-system-zlib
 
 Note that for other languages, there are some prerequisites that
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11588 - trunk/BOOK/chapter06

2019-05-02 Thread xry111--- via lfs-book
Author: xry111
Date: Thu May  2 13:53:31 2019
New Revision: 11588

Log:
Remove a command no more needed in gcc

Modified:
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/chapter06/gcc.xml
==
--- trunk/BOOK/chapter06/gcc.xmlThu May  2 00:30:27 2019(r11587)
+++ trunk/BOOK/chapter06/gcc.xmlThu May  2 13:53:31 2019(r11588)
@@ -51,11 +51,6 @@
   ;;
 esac
 
-Remove the symlink created earlier as the final gcc includes will be
-installed here:
-
-rm -f /usr/lib/gcc
-
 The GCC documentation recommends building GCC in a dedicated build 
directory:
 
 mkdir -v build
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11585 - trunk/BOOK/chapter01

2019-04-22 Thread xry111--- via lfs-book
Author: xry111
Date: Mon Apr 22 00:17:29 2019
New Revision: 11585

Log:
Fix Changelog for sysv

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Sun Apr 21 23:40:16 2019(r11584)
+++ trunk/BOOK/chapter01/changelog.xml  Mon Apr 22 00:17:29 2019(r11585)
@@ -43,7 +43,7 @@
 appropriate for the entry or if needed the entire day's listitem.
 -->
 
-
+
   2019-04-20
   
 
@@ -62,7 +62,7 @@
   [bdubbs] - Update to libcap-2.27. Fixes
   #4457.
 
-
+
   [renodr] - Fix the syntax used for configuring automatic file
   creation and deletion.
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11650 - trunk/BOOK/chapter06

2019-08-04 Thread xry111--- via lfs-book
Author: xry111
Date: Sun Aug  4 00:43:45 2019
New Revision: 11650

Log:
fix a typo

Modified:
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/chapter06/gcc.xml
==
--- trunk/BOOK/chapter06/gcc.xmlSat Aug  3 22:53:28 2019(r11649)
+++ trunk/BOOK/chapter06/gcc.xmlSun Aug  4 00:43:45 2019(r11650)
@@ -154,7 +154,7 @@
 
 Install the package and remove an unneeded directory:
 
-make installi
+make install
 rm -rf 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/bits/
 
 Create a symlink required by the http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11654 - trunk/BOOK/chapter06

2019-08-15 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Aug 14 23:36:26 2019
New Revision: 11654

Log:
gcc: remove the errorenous header for 32-bit correctly

Modified:
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/chapter06/gcc.xml
==
--- trunk/BOOK/chapter06/gcc.xmlMon Aug  5 09:51:20 2019(r11653)
+++ trunk/BOOK/chapter06/gcc.xmlWed Aug 14 23:36:26 2019(r11654)
@@ -155,7 +155,7 @@
 Install the package and remove an unneeded directory:
 
 make install
-rm -rf 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/bits/
+rm -rf /usr/lib/gcc/$(gcc 
-dumpmachine)/9.1.0/include-fixed/bits/
 
 Create a symlink required by the https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html;>FHS
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11655 - trunk/BOOK/chapter06

2019-08-15 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Aug 14 23:37:20 2019
New Revision: 11655

Log:
gcc: fix the ownership of header directory

Modified:
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/chapter06/gcc.xml
==
--- trunk/BOOK/chapter06/gcc.xmlWed Aug 14 23:36:26 2019(r11654)
+++ trunk/BOOK/chapter06/gcc.xmlWed Aug 14 23:37:20 2019(r11655)
@@ -157,6 +157,14 @@
 make install
 rm -rf /usr/lib/gcc/$(gcc 
-dumpmachine)/9.1.0/include-fixed/bits/
 
+The GCC build directory is owned by 
+nobody now and the ownership of the installed header
+directory (and its content) will be incoorect.  Change the ownership to
+root user and group:
+
+chown -v -R root:root \
+/usr/lib/gcc/*linux-gnu//include{,-fixed}
+
 Create a symlink required by the https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html;>FHS
 for "historical" reasons.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11667 - trunk/BOOK/chapter04

2019-09-03 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Sep  3 12:27:48 2019
New Revision: 11667

Log:
building temp system is ch 5, next one of ch 4

Modified:
   trunk/BOOK/chapter04/addinguser.xml

Modified: trunk/BOOK/chapter04/addinguser.xml
==
--- trunk/BOOK/chapter04/addinguser.xml Mon Sep  2 01:53:46 2019(r11666)
+++ trunk/BOOK/chapter04/addinguser.xml Tue Sep  3 12:27:48 2019(r11667)
@@ -12,7 +12,7 @@
 
   When logged in as user root,
   making a single mistake can damage or destroy a system. Therefore, we
-  recommend building the packages in this chapter as an unprivileged user.
+  recommend building the packages in next chapter as an unprivileged user.
   You could use your own user name, but to make it easier to set up a clean
   working environment, create a new user called lfs as a member of a new group (also named
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11669 - trunk/BOOK/chapter05

2019-09-04 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Sep  4 03:04:29 2019
New Revision: 11669

Log:
perl: typo in option description

Modified:
   trunk/BOOK/chapter05/perl.xml

Modified: trunk/BOOK/chapter05/perl.xml
==
--- trunk/BOOK/chapter05/perl.xml   Tue Sep  3 13:50:55 2019(r11668)
+++ trunk/BOOK/chapter05/perl.xml   Wed Sep  4 03:04:29 2019(r11669)
@@ -60,7 +60,10 @@
   
 
   
--Uloclibpth amd -Ulocincpth
+
+  -Uloclibpth and
+  -Ulocincpth
+
 
   These entries undefine variables that cause the configuration
   to search for locally installed components that may exist on the
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11652 - trunk/BOOK

2019-08-04 Thread xry111--- via lfs-book
Author: xry111
Date: Sun Aug  4 22:20:09 2019
New Revision: 11652

Log:
fix version of systemd book

Modified:
   trunk/BOOK/general.ent

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Sun Aug  4 14:15:40 2019(r11651)
+++ trunk/BOOK/general.ent  Sun Aug  4 22:20:09 2019(r11652)
@@ -3,7 +3,7 @@
   Change to x.y for release but not -rc 
releases -->
  
 
-
+
 
  
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11699 - trunk/BOOK/chapter06

2019-11-16 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Nov 16 09:51:36 2019
New Revision: 11699

Log:
add libtextstyle description into gettext contents

Modified:
   trunk/BOOK/chapter06/gettext.xml

Modified: trunk/BOOK/chapter06/gettext.xml
==
--- trunk/BOOK/chapter06/gettext.xmlFri Nov  8 20:37:51 2019(r11698)
+++ trunk/BOOK/chapter06/gettext.xmlSat Nov 16 09:51:36 2019(r11699)
@@ -104,7 +104,7 @@
 msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, 
msguniq,
 ngettext, recode-sr-latin, and xgettext
 libasprintf.so, libgettextlib.so, libgettextpo.so,
-libgettextsrc.so, and preloadable_libintl.so
+libgettextsrc.so, libtextstyle.so, and preloadable_libintl.so
 /usr/lib/gettext, /usr/share/doc/gettext-,
 /usr/share/gettext, and /usr/share/gettext-0.19.8
   
@@ -401,6 +401,16 @@
   
 
   
+
+  
+libtextstyle
+
+  Text styling library
+  
+libtextstyle
+  
+
+  
 
   
 preloadable_libintl
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11701 - trunk/BOOK/chapter06

2019-11-23 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Nov 23 09:11:51 2019
New Revision: 11701

Log:
python: add  tag for option explanation

Modified:
   trunk/BOOK/chapter06/python.xml

Modified: trunk/BOOK/chapter06/python.xml
==
--- trunk/BOOK/chapter06/python.xml Sun Nov 17 12:38:59 2019(r11700)
+++ trunk/BOOK/chapter06/python.xml Sat Nov 23 09:11:51 2019(r11701)
@@ -120,7 +120,7 @@
   The meaning of the documentation install commands:
 
 
-  --no-same-owner and --no-same-permissions
+  --no-same-owner and 
--no-same-permissions
   
 Ensure the installed files have the correct ownership and 
 permissions.  Without these options, using 
tar
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11769 - trunk/BOOK/chapter06

2020-03-01 Thread xry111--- via lfs-book
Author: xry111
Date: Sun Mar  1 19:07:42 2020
New Revision: 11769

Log:
man-db: decorate username bin

Modified:
   trunk/BOOK/chapter06/man-db.xml

Modified: trunk/BOOK/chapter06/man-db.xml
==
--- trunk/BOOK/chapter06/man-db.xml Sun Mar  1 12:22:52 2020(r11768)
+++ trunk/BOOK/chapter06/man-db.xml Sun Mar  1 19:07:42 2020(r11769)
@@ -89,7 +89,7 @@
 --enable-cache-owner=bin
 
   This makes the system-wide cache files be owned by user
-  bin.
+  bin.
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11739 - in trunk/BOOK: chapter05 chapter06

2020-02-01 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Feb  1 23:09:11 2020
New Revision: 11739

Log:
gcc: tell the audience that Glibc-2.31 is the smoking gun

Modified:
   trunk/BOOK/chapter05/gcc-pass2.xml
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/chapter05/gcc-pass2.xml
==
--- trunk/BOOK/chapter05/gcc-pass2.xml  Sat Feb  1 17:15:18 2020(r11738)
+++ trunk/BOOK/chapter05/gcc-pass2.xml  Sat Feb  1 23:09:11 2020(r11739)
@@ -105,8 +105,7 @@
 mv -v mpc- mpc
 
 
-  Now fix a problem introduced by aother package after this version 
-  of gcc was released:
+  Now fix a problem introduced by Glibc-2.31:
 
 
 sed -e '1161 s|^|//|' \

Modified: trunk/BOOK/chapter06/gcc.xml
==
--- trunk/BOOK/chapter06/gcc.xmlSat Feb  1 17:15:18 2020(r11738)
+++ trunk/BOOK/chapter06/gcc.xmlSat Feb  1 23:09:11 2020(r11739)
@@ -52,8 +52,7 @@
 esac
 

-  As in gcc-pass2, fix a problem introduced by aother package after this 
version
-  of gcc was released:
+  As in gcc-pass2, fix a problem introduced by Glibc-2.31:
 
 
 sed -e '1161 s|^|//|' \
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11741 - trunk/BOOK/chapter06

2020-02-03 Thread xry111--- via lfs-book
Author: xry111
Date: Mon Feb  3 06:04:54 2020
New Revision: 11741

Log:
grep: -k is not necessary for make test anymore

Modified:
   trunk/BOOK/chapter06/grep.xml

Modified: trunk/BOOK/chapter06/grep.xml
==
--- trunk/BOOK/chapter06/grep.xml   Sun Feb  2 16:26:21 2020(r11740)
+++ trunk/BOOK/chapter06/grep.xml   Mon Feb  3 06:04:54 2020(r11741)
@@ -50,7 +50,7 @@
 
 To test the results, issue:
 
-make -k check
+make check
 
 Install the package:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11740 - trunk/BOOK/chapter06

2020-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Sun Feb  2 16:26:21 2020
New Revision: 11740

Log:
binutils: document new libraries libctf{,-nobfd}

https://lwn.net/Articles/795384/

Modified:
   trunk/BOOK/chapter06/binutils.xml

Modified: trunk/BOOK/chapter06/binutils.xml
==
--- trunk/BOOK/chapter06/binutils.xml   Sat Feb  1 23:09:11 2020(r11739)
+++ trunk/BOOK/chapter06/binutils.xml   Sun Feb  2 16:26:21 2020(r11740)
@@ -394,6 +394,26 @@
 
   
 
+  
+libctf
+
+  The Compat ANSI-C Type Format debugging support library
+  
+libctf
+  
+
+  
+
+  
+libctf-nobfd
+
+  A libctf variant which does not use libbfd functionality
+  
+libctf-nobfd
+  
+
+  
+
   
 libopcodes
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11745 - trunk/BOOK/chapter06

2020-02-04 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  4 20:58:10 2020
New Revision: 11745

Log:
e2fsprogs: install-libs is automatically run by install

Modified:
   trunk/BOOK/chapter06/e2fsprogs.xml

Modified: trunk/BOOK/chapter06/e2fsprogs.xml
==
--- trunk/BOOK/chapter06/e2fsprogs.xml  Tue Feb  4 08:27:28 2020(r11744)
+++ trunk/BOOK/chapter06/e2fsprogs.xml  Tue Feb  4 20:58:10 2020(r11745)
@@ -135,14 +135,10 @@
 linkend="space-creatingfilesystem"/> and 
 for details on creating and enabling swap space.
 
-Install the binaries, documentation, and shared libraries:
+Install the package:
 
 make install
 
-Install the static libraries and headers:
-
-make install-libs
-
 Make the installed static libraries writable so debugging symbols can
 be removed later:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11743 - trunk/BOOK/chapter06

2020-02-04 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  4 05:13:09 2020
New Revision: 11743

Log:
python3: run test suite

Modified:
   trunk/BOOK/chapter06/python.xml

Modified: trunk/BOOK/chapter06/python.xml
==
--- trunk/BOOK/chapter06/python.xml Mon Feb  3 21:51:28 2020(r11742)
+++ trunk/BOOK/chapter06/python.xml Tue Feb  4 05:13:09 2020(r11743)
@@ -83,8 +83,11 @@
 
 make
 
-The test suite requires TK and X Windows session and cannot
-be run until Python 3 is reinstalled in BLFS.
+To test the results, issue make test.
+Some tests requiring network connection or additional packages are
+skipped.  The test named test_normalization fails because network
+configuration is not completed yet.  For more comprehensive results,
+the test can be rerun when Python 3 is reinstalled in BLFS.
 
 Install the package:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-03-14 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Mar 14 00:10:05 2020
New Revision: 11781

Log:
systemd-custom: add a section discussing core dumps

Modified:
   trunk/BOOK/chapter07/systemd-custom.xml

Modified: trunk/BOOK/chapter07/systemd-custom.xml
==
--- trunk/BOOK/chapter07/systemd-custom.xml Fri Mar 13 07:45:58 2020
(r11780)
+++ trunk/BOOK/chapter07/systemd-custom.xml Sat Mar 14 00:10:05 2020
(r11781)
@@ -210,6 +210,52 @@
   
 
   
+Working with Core Dumps
+
+Core dumps are useful to debug crashed programs, especially
+when a daemon process crashes. On systemd booted systems the core
+dumping is handled by systemd-coredump.  It will
+log the core dump into the journal and store the core dump itself in
+/var/lib/systemd/coredump.
+To retrieve and process core dumps, coredumpctl
+tool is provided.  Here are some examples of frequently used commands:
+
+
+
+  
+coredumpctl -r: lists all core dumps in
+reversed chronological order.
+  
+  
+coredumpctl -1 info: show the information
+of the last core dump.
+  
+  
+coredumpctl -1 debug: load the last core
+dump into GDB.
+
+  
+
+
+Core dumps may use a lot of disk space.  The maximum disk space
+used by core dumps can be limited by creating a configuration file in
+/etc/systemd/coredump.conf.d.
+For example:
+
+mkdir -pv /etc/systemd/coredump.conf.d
+
+cat  /etc/systemd/coredump.conf.d/maxuse.conf  EOF
+[Coredump]
+MaxUse=5G
+EOF
+
+See systemd-coredump(8),
+coredumpctl(1), and
+coredump.conf.d(5) manual pages for more
+information.
+  
+
+  
 Long Running Processes
 
 Beginning with systemd-230, all user processes are killed when a user
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11823 - trunk/BOOK/appendices

2020-04-23 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Apr 23 18:58:02 2020
New Revision: 11823

Log:
update dependencies page for ICA changes

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Thu Apr 23 18:04:14 2020
(r11822)
+++ trunk/BOOK/appendices/dependencies.xml  Thu Apr 23 18:58:02 2020
(r11823)
@@ -260,7 +260,7 @@
 
 
 
- Bash, Binutils, Coreutils, Diffutils, File, Gawk, GCC, Glibc,
+ Bash, Binutils, Coreutils, Diffutils, File, Flex, Gawk, GCC, 
Glibc,
  Grep, Make, Perl, Sed, Texinfo and Zlib
 
   
@@ -584,7 +584,7 @@
 
 
  Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Gperf,
- Make, and Sed
+ Make, Sed, and Util-linux
 
   
 
@@ -780,7 +780,7 @@
 
 
 
-  IPRoute2, Kbd, and Man-DB
+  None
 
   
 
@@ -927,7 +927,7 @@
 
 
 
-  Automake
+  Automake and Bison
 
   
 
@@ -1464,7 +1464,7 @@
 
 
 
-  None
+  Shadow
 
   
 
@@ -2232,7 +2232,7 @@
 
 
  Bash, Binutils, Coreutils, Expat, GCC, Gdbm, Gettext, Glibc, 
Grep, 
- Libffi, Make, Ncurses, and Sed
+ Libffi, Make, Ncurses, Sed, and Util-linux
 
   
 
@@ -2340,7 +2340,7 @@
 
 
  Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Findutils, 
Gawk, GCC,
- Gettext, Glibc, Grep, Make, and Sed
+ Gettext, Glibc, Grep, Libcap, Make, and Sed
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11846 - trunk/BOOK/appendices

2020-05-11 Thread xry111--- via lfs-book
Author: xry111
Date: Mon May 11 18:06:54 2020
New Revision: 11846

Log:
dependencies: glibc needs bison

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Sun May 10 09:41:49 2020
(r11845)
+++ trunk/BOOK/appendices/dependencies.xml  Mon May 11 18:06:54 2020
(r11846)
@@ -946,7 +946,7 @@
 
 
 
- Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext,
+ Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Gettext,
  Grep, Gzip, Linux API Headers, Make, Perl, Python, Sed, and 
Texinfo
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11785 - trunk/BOOK/appendices

2020-03-17 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Mar 17 05:26:29 2020
New Revision: 11785

Log:
dependencies: remove a extra comma

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Sun Mar 15 06:23:25 2020
(r11784)
+++ trunk/BOOK/appendices/dependencies.xml  Tue Mar 17 05:26:29 2020
(r11785)
@@ -2364,7 +2364,7 @@
 
 
 
-  Cracklib, and PAM
+  Cracklib and PAM
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11786 - trunk/BOOK/chapter08

2020-03-17 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Mar 17 20:36:00 2020
New Revision: 11786

Log:
use  instead of hardcoding long URL

Modified:
   trunk/BOOK/chapter08/grub.xml
   trunk/BOOK/chapter08/kernel.xml

Modified: trunk/BOOK/chapter08/grub.xml
==
--- trunk/BOOK/chapter08/grub.xml   Tue Mar 17 05:26:29 2020(r11785)
+++ trunk/BOOK/chapter08/grub.xml   Tue Mar 17 20:36:00 2020(r11786)
@@ -45,9 +45,9 @@
 previous section.  However, LFS can be booted using GRUB2 without such
 an addition. To do this, the UEFI Mode and Secure Boot capabilities in
 the host system's BIOS need to be turned off.  For details, see http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt;>
+url="lfs-uefi.txt">
 the lfs-uefi.txt hint at
-http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt.
+lfs-uefi.txt.
   
 
 

Modified: trunk/BOOK/chapter08/kernel.xml
==
--- trunk/BOOK/chapter08/kernel.xml Tue Mar 17 05:26:29 2020(r11785)
+++ trunk/BOOK/chapter08/kernel.xml Tue Mar 17 20:36:00 2020(r11786)
@@ -141,7 +141,7 @@
   A fuller description of managing UEFI environments from within LFS
   is covered by the lfs-uefi.txt hint at
   http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt"/>.
+url="lfs-uefi.txt"/>.
   
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-03-22 Thread xry111--- via lfs-book
Author: xry111
Date: Sun Mar 22 19:14:04 2020
New Revision: 11796

Log:
sysv usage: specify -n for dmesg to set loglevel

Modified:
   trunk/BOOK/chapter07/usage.xml

Modified: trunk/BOOK/chapter07/usage.xml
==
--- trunk/BOOK/chapter07/usage.xml  Sun Mar 22 04:25:51 2020(r11795)
+++ trunk/BOOK/chapter07/usage.xml  Sun Mar 22 19:14:04 2020(r11796)
@@ -378,7 +378,7 @@
   LOGLEVEL
   
 This variable specifies the log level for kernel messages sent
-to the console as set by dmesg. Valid levels are
+to the console as set by dmesg -n. Valid levels are
 from "1" (no messages) to "8". The default level is "7".
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11777 - trunk/BOOK/appendices

2020-03-07 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Mar  7 17:47:14 2020
New Revision: 11777

Log:
deps: Python needs system Expat

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Thu Mar  5 11:27:52 2020
(r11776)
+++ trunk/BOOK/appendices/dependencies.xml  Sat Mar  7 17:47:14 2020
(r11777)
@@ -636,7 +636,7 @@
 
 
 
-  XML::Parser
+  Python and XML::Parser
 
   
 
@@ -2231,7 +2231,7 @@
 
 
 
- Bash, Binutils, Coreutils, GCC, Gdbm, Gettext, Glibc, Grep, 
+ Bash, Binutils, Coreutils, Expat, GCC, Gdbm, Gettext, Glibc, 
Grep, 
  Libffi, Make, Ncurses, and Sed
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12045 - trunk/BOOK/chapter04

2020-09-04 Thread xry111--- via lfs-book
Author: xry111
Date: Fri Sep  4 00:38:44 2020
New Revision: 12045

Log:
env: set CONFIG_SITE to prevent potential contamination from host distro

Modified:
   trunk/BOOK/chapter04/settingenviron.xml

Modified: trunk/BOOK/chapter04/settingenviron.xml
==
--- trunk/BOOK/chapter04/settingenviron.xml Tue Sep  1 17:04:14 2020
(r12044)
+++ trunk/BOOK/chapter04/settingenviron.xml Fri Sep  4 00:38:44 2020
(r12045)
@@ -46,7 +46,8 @@
 PATH=/usr/bin
 if [ ! -L /bin ]; then PATH=/bin:$PATH; fi
 PATH=$LFS/tools/bin:$PATH
-export LFS LC_ALL LFS_TGT PATH
+CONFIG_SITE=$LFS/usr/share/config.site
+export LFS LC_ALL LFS_TGT PATH CONFIG_SITE
 EOF
 
   
@@ -144,7 +145,19 @@
 
 
 
-  export LFS LC_ALL LFS_TGT PATH
+  
CONFIG_SITE=$LFS/usr/share/config.site
+  
+  In  and
+  , if this variable is not set,
+  configure scripts
+  will attempt to load configuration from
+  /usr/share/config.site of the host system. Override
+  it to prevent potential contamination from host.
+  
+
+
+
+  export ...
   
 While the above commands have set some variables, in order
 to make them visible within any sub-shells, we export them.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12028 - trunk/BOOK/chapter01

2020-08-19 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Aug 19 07:08:44 2020
New Revision: 12028

Log:
remove several duplicated changelog entries

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Tue Aug 18 15:46:38 2020(r12027)
+++ trunk/BOOK/chapter01/changelog.xml  Wed Aug 19 07:08:44 2020(r12028)
@@ -758,36 +758,6 @@
 
 
 
-  2020-03-29
-  
-
-  [bdubbs] - Textual updates thanks to Kevin Buckley.
-
-  
-
-
-
-  2020-03-19
-  
-
-  [renodr] - Update to systemd-245. Fixes
-  #4593.
-
-  
-
-
-
-  2020-03-18
-  
-
-  [renodr] - Make minor modifications to the kernel configuration
-  in order to match the configuration options to there current 
positions
-  in Linux-5.5
-
-  
-
-
-
   2020-03-15
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-08-19 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Aug 19 10:17:20 2020
New Revision: 12030

Log:
always remove the docs of temporary tools

Modified:
   trunk/BOOK/chapter07/stripping.xml

Modified: trunk/BOOK/chapter07/stripping.xml
==
--- trunk/BOOK/chapter07/stripping.xml  Wed Aug 19 08:31:33 2020(r12029)
+++ trunk/BOOK/chapter07/stripping.xml  Wed Aug 19 10:17:20 2020(r12030)
@@ -17,6 +17,11 @@
 
 find /usr/{lib,libexec} -name \*.la 
-delete
 
+Remove the documentation of the temporary tools, to prevent them
+from ending up in the final system, and save about 35 MB:
+
+rm -rf /usr/share/{info,man,doc}/*
+
   
 All the remaining steps in this section are optional. Nevertheless,
 as soon as you begin installing packages in 
 
-To save more space (slightly more than 35 MB), remove the 
documentation:
-
-rm -rf 
$LFS/usr/share/{info,man,doc}
-
 At this point, you should have at least 5 GB of free space on the
 chroot partition that can be used to build and install Glibc and GCC in
 the next phase. If you can build and install Glibc, you can build and 
install
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12031 - trunk/BOOK/chapter08

2020-08-19 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Aug 19 11:09:09 2020
New Revision: 12031

Log:
systemd: install into versioned directory

Modified:
   trunk/BOOK/chapter08/systemd.xml

Modified: trunk/BOOK/chapter08/systemd.xml
==
--- trunk/BOOK/chapter08/systemd.xmlWed Aug 19 10:17:20 2020(r12030)
+++ trunk/BOOK/chapter08/systemd.xmlWed Aug 19 11:09:09 2020(r12031)
@@ -92,6 +92,7 @@
   -Dhomed=false \
   -Duserdb=false\
   -Dman=true\
+  -Ddocdir=/usr/share/doc/systemd- \
   ..
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12029 - in trunk/BOOK: chapter01 chapter02 chapter04 chapter06 chapter08 part3intro

2020-08-19 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Aug 19 08:31:33 2020
New Revision: 12029

Log:
fix some typos

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter02/stages.xml
   trunk/BOOK/chapter04/settingenviron.xml
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/chapter06/findutils.xml
   trunk/BOOK/chapter06/gcc-pass2.xml
   trunk/BOOK/chapter06/gzip.xml
   trunk/BOOK/chapter06/introduction.xml
   trunk/BOOK/chapter08/coreutils.xml
   trunk/BOOK/chapter08/revisedchroot.xml
   trunk/BOOK/part3intro/toolchaintechnotes.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Wed Aug 19 07:08:44 2020(r12028)
+++ trunk/BOOK/chapter01/changelog.xml  Wed Aug 19 08:31:33 2020(r12029)
@@ -389,7 +389,7 @@
   [pierre] - Fix bash tests: add a couple of symlinks
   from /bin to /tools, create the tester user with the uid of
   the tty owner, run the bash tests with su  EOF, and
-  explicitely defining stdin (with help from thomas and bdubbs).
+  explicitly defining stdin (with help from thomas and bdubbs).
 
   
 

Modified: trunk/BOOK/chapter02/stages.xml
==
--- trunk/BOOK/chapter02/stages.xml Wed Aug 19 07:08:44 2020(r12028)
+++ trunk/BOOK/chapter02/stages.xml Wed Aug 19 08:31:33 2020(r12029)
@@ -68,7 +68,7 @@
   
 A few operations, from Changing Ownership to
 Entering the Chroot Environment must be done as the
-root user, with the LFS envirnment variable set for the root 
user.
+root user, with the LFS environment variable set for the root 
user.
   
 
   

Modified: trunk/BOOK/chapter04/settingenviron.xml
==
--- trunk/BOOK/chapter04/settingenviron.xml Wed Aug 19 07:08:44 2020
(r12028)
+++ trunk/BOOK/chapter04/settingenviron.xml Wed Aug 19 08:31:33 2020
(r12029)
@@ -161,7 +161,7 @@
  lfs
  user's environment in ways that can affect the building of critical LFS
  packages. To make sure the lfs
- user's envronment is clean, check for the
+ user's environment is clean, check for the
  presence of /etc/bash.bashrc and, if present, move it
  out of the way.  As the root
  user, run:

Modified: trunk/BOOK/chapter06/bash.xml
==
--- trunk/BOOK/chapter06/bash.xml   Wed Aug 19 07:08:44 2020(r12028)
+++ trunk/BOOK/chapter06/bash.xml   Wed Aug 19 08:31:33 2020(r12029)
@@ -74,7 +74,7 @@
 
 make DESTDIR=$LFS 
install
 
-Move the excutable to where it is expected:
+Move the executable to where it is expected:
 
 mv $LFS/usr/bin/bash 
$LFS/bin/bash
 

Modified: trunk/BOOK/chapter06/findutils.xml
==
--- trunk/BOOK/chapter06/findutils.xml  Wed Aug 19 07:08:44 2020(r12028)
+++ trunk/BOOK/chapter06/findutils.xml  Wed Aug 19 08:31:33 2020(r12029)
@@ -57,7 +57,7 @@
 
 make DESTDIR=$LFS 
install
 
-Move the excutable to its final expected location:
+Move the executable to its final expected location:
 
 mv -v $LFS/usr/bin/find $LFS/bin
 sed -i 's|find:=${BINDIR}|find:=/bin|' 
$LFS/usr/bin/updatedb

Modified: trunk/BOOK/chapter06/gcc-pass2.xml
==
--- trunk/BOOK/chapter06/gcc-pass2.xml  Wed Aug 19 07:08:44 2020(r12028)
+++ trunk/BOOK/chapter06/gcc-pass2.xml  Wed Aug 19 08:31:33 2020(r12029)
@@ -123,7 +123,7 @@
 
   This option is automatically enabled when building a native
   compiler with a native compiler on x86. But here, we build with
-  a cross compiler, so we need to explicitely set this option.
+  a cross compiler, so we need to explicitly set this option.
 
   
 

Modified: trunk/BOOK/chapter06/gzip.xml
==
--- trunk/BOOK/chapter06/gzip.xml   Wed Aug 19 07:08:44 2020(r12028)
+++ trunk/BOOK/chapter06/gzip.xml   Wed Aug 19 08:31:33 2020(r12029)
@@ -55,7 +55,7 @@
 
 make DESTDIR=$LFS 
install
 
-Move the excutable to its final expected location:
+Move the executable to its final expected location:
 
 mv -v $LFS/usr/bin/gzip 
$LFS/bin
 

Modified: trunk/BOOK/chapter06/introduction.xml
==
--- trunk/BOOK/chapter06/introduction.xml   Wed Aug 19 07:08:44 2020
(r12028)
+++ trunk/BOOK/chapter06/introduction.xml   Wed Aug 19 08:31:33 2020
(r12029)
@@ -24,7 +24,7 @@
   Once again, let us recall that improper setting of LFS
   together with 

[lfs-book] r12032 - trunk/BOOK/chapter05

2020-08-20 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Aug 20 01:27:42 2020
New Revision: 12032

Log:
binutils-pass1: adjust timing sample to match the build command

Modified:
   trunk/BOOK/chapter05/binutils-pass1.xml

Modified: trunk/BOOK/chapter05/binutils-pass1.xml
==
--- trunk/BOOK/chapter05/binutils-pass1.xml Wed Aug 19 11:09:09 2020
(r12031)
+++ trunk/BOOK/chapter05/binutils-pass1.xml Thu Aug 20 01:27:42 2020
(r12032)
@@ -64,7 +64,7 @@
   to be of any use, measure the time it takes to build this package from
   the configuration, up to and including the first install. To achieve
   this easily, wrap the commands in a time
-  command like this: time { ./configure ...  make
+  command like this: time { ../configure ...  make
make install; }.
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11870 - trunk/BOOK/appendices

2020-05-29 Thread xry111--- via lfs-book
Author: xry111
Date: Fri May 29 21:57:12 2020
New Revision: 11870

Log:
dependencies: gettext depends on ncurses

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Fri May 29 17:03:55 2020
(r11869)
+++ trunk/BOOK/appendices/dependencies.xml  Fri May 29 21:57:12 2020
(r11870)
@@ -911,7 +911,7 @@
 
 
  Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
- Sed, and Texinfo
+ Ncurses, Sed, and Texinfo
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11874 - in trunk/BOOK: appendices chapter05 chapter06

2020-05-30 Thread xry111--- via lfs-book
Author: xry111
Date: Sat May 30 07:37:08 2020
New Revision: 11874

Log:
flex: move it earlier in chap6, so we can remove it from chap5

Modified:
   trunk/BOOK/appendices/dependencies.xml
   trunk/BOOK/chapter05/chapter05.xml
   trunk/BOOK/chapter06/chapter06.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Sat May 30 07:21:25 2020
(r11873)
+++ trunk/BOOK/appendices/dependencies.xml  Sat May 30 07:37:08 2020
(r11874)
@@ -780,7 +780,7 @@
 
 
 
-  None
+  Binutils, IProute2, Kbd, Kmod, and Man-DB
 
   
 

Modified: trunk/BOOK/chapter05/chapter05.xml
==
--- trunk/BOOK/chapter05/chapter05.xml  Sat May 30 07:21:25 2020(r11873)
+++ trunk/BOOK/chapter05/chapter05.xml  Sat May 30 07:37:08 2020(r11874)
@@ -28,7 +28,6 @@
   http://www.w3.org/2001/XInclude; href="ncurses.xml"/>
   http://www.w3.org/2001/XInclude; href="bash.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="coreutils.xml"/>
   http://www.w3.org/2001/XInclude; href="diffutils.xml"/>
   http://www.w3.org/2001/XInclude; href="file.xml"/>

Modified: trunk/BOOK/chapter06/chapter06.xml
==
--- trunk/BOOK/chapter06/chapter06.xml  Sat May 30 07:21:25 2020(r11873)
+++ trunk/BOOK/chapter06/chapter06.xml  Sat May 30 07:37:08 2020(r11874)
@@ -29,6 +29,7 @@
   http://www.w3.org/2001/XInclude; href="readline.xml"/>
   http://www.w3.org/2001/XInclude; href="m4.xml"/>
   http://www.w3.org/2001/XInclude; href="bc.xml"/>
+  http://www.w3.org/2001/XInclude; href="flex.xml"/>
   http://www.w3.org/2001/XInclude; href="binutils.xml"/>
   http://www.w3.org/2001/XInclude; href="gmp.xml"/>
   http://www.w3.org/2001/XInclude; href="mpfr.xml"/>
@@ -45,7 +46,6 @@
   http://www.w3.org/2001/XInclude; href="iana-etc.xml"/>
   http://www.w3.org/2001/XInclude; href="gettext.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="grep.xml"/>
   http://www.w3.org/2001/XInclude; href="bash.xml"/>
   http://www.w3.org/2001/XInclude; href="libtool.xml"/>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11876 - trunk/BOOK/chapter06

2020-05-30 Thread xry111--- via lfs-book
Author: xry111
Date: Sat May 30 07:44:59 2020
New Revision: 11876

Log:
remove some unnecessary envs

Modified:
   trunk/BOOK/chapter06/kbd.xml
   trunk/BOOK/chapter06/make.xml

Modified: trunk/BOOK/chapter06/kbd.xml
==
--- trunk/BOOK/chapter06/kbd.xmlSat May 30 07:43:18 2020(r11875)
+++ trunk/BOOK/chapter06/kbd.xmlSat May 30 07:44:59 2020(r11876)
@@ -60,7 +60,7 @@
 
 Prepare Kbd for compilation:
 
-PKG_CONFIG_PATH=/tools/lib/pkgconfig 
./configure --prefix=/usr --disable-vlock
+./configure --prefix=/usr 
--disable-vlock
 
 
   The meaning of the configure options:

Modified: trunk/BOOK/chapter06/make.xml
==
--- trunk/BOOK/chapter06/make.xml   Sat May 30 07:43:18 2020(r11875)
+++ trunk/BOOK/chapter06/make.xml   Sat May 30 07:44:59 2020(r11876)
@@ -56,7 +56,7 @@
 We use an environment variable to accomplish this.  To test the 
 results, issue:
 
-make PERL5LIB=$PWD/tests/ 
check
+make check
 
 Install the package:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11873 - trunk/BOOK/chapter05

2020-05-30 Thread xry111--- via lfs-book
Author: xry111
Date: Sat May 30 07:21:25 2020
New Revision: 11873

Log:
bzip2: remove from chap5

Modified:
   trunk/BOOK/chapter05/chapter05.xml

Modified: trunk/BOOK/chapter05/chapter05.xml
==
--- trunk/BOOK/chapter05/chapter05.xml  Sat May 30 07:13:54 2020(r11872)
+++ trunk/BOOK/chapter05/chapter05.xml  Sat May 30 07:21:25 2020(r11873)
@@ -29,7 +29,6 @@
   http://www.w3.org/2001/XInclude; href="bash.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="bzip2.xml"/>
   http://www.w3.org/2001/XInclude; href="coreutils.xml"/>
   http://www.w3.org/2001/XInclude; href="diffutils.xml"/>
   http://www.w3.org/2001/XInclude; href="file.xml"/>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11875 - trunk/BOOK/chapter06

2020-05-30 Thread xry111--- via lfs-book
Author: xry111
Date: Sat May 30 07:43:18 2020
New Revision: 11875

Log:
cleanup: remove unused binutils CTF static archives

Modified:
   trunk/BOOK/chapter06/revisedchroot.xml

Modified: trunk/BOOK/chapter06/revisedchroot.xml
==
--- trunk/BOOK/chapter06/revisedchroot.xml  Sat May 30 07:37:08 2020
(r11874)
+++ trunk/BOOK/chapter06/revisedchroot.xml  Sat May 30 07:43:18 2020
(r11875)
@@ -51,6 +51,7 @@
   remove them now:
 
 rm -f /usr/lib/lib{bfd,opcodes}.a
+rm -f /usr/lib/libctf{,-nobfd}.a
 rm -f /usr/lib/libbz2.a
 rm -f /usr/lib/lib{com_err,e2p,ext2fs,ss}.a
 rm -f /usr/lib/libltdl.a
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11872 - in trunk/BOOK: appendices chapter06

2020-05-30 Thread xry111--- via lfs-book
Author: xry111
Date: Sat May 30 07:13:54 2020
New Revision: 11872

Log:
zstd: move it earlier in chap6 for GCC

Modified:
   trunk/BOOK/appendices/dependencies.xml
   trunk/BOOK/chapter06/chapter06.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Sat May 30 00:00:00 2020
(r11871)
+++ trunk/BOOK/appendices/dependencies.xml  Sat May 30 07:13:54 2020
(r11872)
@@ -837,7 +837,7 @@
 
  Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
  Gettext, Glibc, GMP, Grep, M4, Make, MPC, MPFR, Patch, Perl, Sed, Tar,
- and Texinfo
+ Texinfo, and Zstd
 
   
 
@@ -2786,7 +2786,7 @@
 
 
 
-  None
+  GCC
 
   
 

Modified: trunk/BOOK/chapter06/chapter06.xml
==
--- trunk/BOOK/chapter06/chapter06.xml  Sat May 30 00:00:00 2020(r11871)
+++ trunk/BOOK/chapter06/chapter06.xml  Sat May 30 07:13:54 2020(r11872)
@@ -24,6 +24,7 @@
   http://www.w3.org/2001/XInclude; href="zlib.xml"/>
   http://www.w3.org/2001/XInclude; href="bzip2.xml"/>
   http://www.w3.org/2001/XInclude; href="xz.xml"/>
+  http://www.w3.org/2001/XInclude; href="zstd.xml"/>
   http://www.w3.org/2001/XInclude; href="file.xml"/>
   http://www.w3.org/2001/XInclude; href="readline.xml"/>
   http://www.w3.org/2001/XInclude; href="m4.xml"/>
@@ -73,7 +74,6 @@
   http://www.w3.org/2001/XInclude; href="grub.xml"/>
   http://www.w3.org/2001/XInclude; href="less.xml"/>
   http://www.w3.org/2001/XInclude; href="gzip.xml"/>
-  http://www.w3.org/2001/XInclude; href="zstd.xml"/>
   http://www.w3.org/2001/XInclude; href="iproute2.xml"/>
   http://www.w3.org/2001/XInclude; href="kbd.xml"/>
   http://www.w3.org/2001/XInclude; 
href="libpipeline.xml"/>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11880 - trunk/BOOK/chapter06

2020-05-30 Thread xry111--- via lfs-book
Author: xry111
Date: Sat May 30 21:10:51 2020
New Revision: 11880

Log:
remove symlink to libfl.so, to satisify flex removal from chap5

Modified:
   trunk/BOOK/chapter06/createfiles.xml

Modified: trunk/BOOK/chapter06/createfiles.xml
==
--- trunk/BOOK/chapter06/createfiles.xmlSat May 30 14:12:12 2020
(r11879)
+++ trunk/BOOK/chapter06/createfiles.xmlSat May 30 21:10:51 2020
(r11880)
@@ -43,7 +43,6 @@
 ln -sv /tools/bin/{env,install,perl,printf} /usr/bin
 ln -sv /tools/lib/libgcc_s.so{,.1}  /usr/lib
 ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib
-ln -sv /tools/lib/libfl.so* /usr/lib
 
 ln -sv bash /bin/sh
 
@@ -175,16 +174,6 @@
   
 
 
-
-  
-/usr/lib/libfl.so*
-  
-  
-This link allows binutils to find the flex library, and to
-   build enhanced versions of ar and ranlib.
-  
-
-
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12002 - trunk/BOOK/chapter01

2020-07-22 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Jul 21 23:23:47 2020
New Revision: 12002

Log:
changelog: correct ticket numbers

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Tue Jul 21 09:39:11 2020(r12001)
+++ trunk/BOOK/chapter01/changelog.xml  Tue Jul 21 23:23:47 2020(r12002)
@@ -47,11 +47,11 @@
   2020-07-21
 
   [bdubbs] - Update to Python3-3.8.5. Fixes
-  #4694.
+  #4695.
 
 
   [bdubbs] - Update to libcap-2.40. Fixes
-  #4694.
+  #4694.
 
 
   [bdubbs] - Update to linux-5.7.9. Fixes
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12014 - trunk/BOOK/chapter08

2020-08-08 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Aug  8 04:22:59 2020
New Revision: 12014

Log:
kbd: do not install static lib libtswrap.a

Actually I believe (shared) libtswrap shouldn't be installed at all.
Opened https://github.com/legionus/kbd/issues/46.

Modified:
   trunk/BOOK/chapter08/kbd.xml

Modified: trunk/BOOK/chapter08/kbd.xml
==
--- trunk/BOOK/chapter08/kbd.xmlSat Aug  8 04:02:42 2020(r12013)
+++ trunk/BOOK/chapter08/kbd.xmlSat Aug  8 04:22:59 2020(r12014)
@@ -60,7 +60,9 @@
 
 Prepare Kbd for compilation:
 
-./configure --prefix=/usr 
--disable-vlock
+./configure --prefix=/usr\
+--disable-vlock  \
+--disable-static
 
 
   The meaning of the configure option:
@@ -107,6 +109,7 @@
 
 
   Installed programs
+  Installed libraries
   Installed directories
 
   
@@ -115,7 +118,8 @@
 mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
 psfxtable), psfstriptable (link to psfxtable), psfxtable, 

 setfont, setkeycodes, setleds, setmetamode, setvtrgb,
-showconsolefont, showkey, unicode_start, and unicode_stop
+showconsolefont, showkey, unicode_start, and unicode_stop
+libtswrap.so
 /usr/share/consolefonts, /usr/share/consoletrans, 
/usr/share/keymaps, 
 /usr/share/doc/kbd-,  and /usr/share/unimaps
   
@@ -384,6 +388,16 @@
   
 
   
+
+  
+libtswrap
+
+  Kbd test wrapper library
+  
+libtswrap
+  
+
+  
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12013 - trunk/BOOK/chapter08

2020-08-08 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Aug  8 04:02:42 2020
New Revision: 12013

Log:
check: don't install static library

Modified:
   trunk/BOOK/chapter08/check.xml

Modified: trunk/BOOK/chapter08/check.xml
==
--- trunk/BOOK/chapter08/check.xml  Fri Aug  7 00:06:58 2020(r12012)
+++ trunk/BOOK/chapter08/check.xml  Sat Aug  8 04:02:42 2020(r12013)
@@ -42,7 +42,7 @@
 
 Prepare Check for compilation:
 
-./configure 
--prefix=/usr
+./configure --prefix=/usr 
--disable-static
 
 Build the package:
 
@@ -71,7 +71,7 @@
 
   
 checkmk
-libcheck.{a,so}
+libcheck.so
   
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12015 - trunk/BOOK/chapter08

2020-08-08 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Aug  8 04:39:38 2020
New Revision: 12015

Log:
chapter08/gcc: typo

Modified:
   trunk/BOOK/chapter08/gcc.xml

Modified: trunk/BOOK/chapter08/gcc.xml
==
--- trunk/BOOK/chapter08/gcc.xmlSat Aug  8 04:22:59 2020(r12014)
+++ trunk/BOOK/chapter08/gcc.xmlSat Aug  8 04:39:38 2020(r12015)
@@ -125,7 +125,7 @@
 apparently related to the en_HK locale.
 
 Additionally the following tests related to the following files
-are kown to fail with glibc-2.32: asan_test.C, co-ret-17-void-ret-coro.C, 
+are known to fail with glibc-2.32: asan_test.C, co-ret-17-void-ret-coro.C, 
 pr95519-05-gro.C, pr80166.c.
 
 

[lfs-book] r12016 - trunk/BOOK/chapter08

2020-08-09 Thread xry111--- via lfs-book
Author: xry111
Date: Sun Aug  9 05:15:08 2020
New Revision: 12016

Log:
kbd: remove libtswrap

Upstream says it is internal, and shouldn't be installed.

Modified:
   trunk/BOOK/chapter08/kbd.xml

Modified: trunk/BOOK/chapter08/kbd.xml
==
--- trunk/BOOK/chapter08/kbd.xmlSat Aug  8 04:39:38 2020(r12015)
+++ trunk/BOOK/chapter08/kbd.xmlSun Aug  9 05:15:08 2020(r12016)
@@ -60,9 +60,7 @@
 
 Prepare Kbd for compilation:
 
-./configure --prefix=/usr\
---disable-vlock  \
---disable-static
+./configure --prefix=/usr 
--disable-vlock
 
 
   The meaning of the configure option:
@@ -90,6 +88,10 @@
 
 make install
 
+Remove an internal library installed unintentionally:
+
+rm -v 
/usr/lib/libtswrap.{a,la,so*}
+
 
   For some languages (e.g., Belarusian) the Kbd package doesn't
   provide a useful keymap where the stock by keymap assumes
@@ -109,7 +111,6 @@
 
 
   Installed programs
-  Installed libraries
   Installed directories
 
   
@@ -118,8 +119,7 @@
 mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
 psfxtable), psfstriptable (link to psfxtable), psfxtable, 

 setfont, setkeycodes, setleds, setmetamode, setvtrgb,
-showconsolefont, showkey, unicode_start, and unicode_stop
-libtswrap.so
+showconsolefont, showkey, unicode_start, and unicode_stop
 /usr/share/consolefonts, /usr/share/consoletrans, 
/usr/share/keymaps, 
 /usr/share/doc/kbd-,  and /usr/share/unimaps
   
@@ -388,16 +388,6 @@
   
 
   
-
-  
-libtswrap
-
-  Kbd test wrapper library
-  
-libtswrap
-  
-
-  
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12019 - trunk/BOOK/chapter10

2020-08-13 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Aug 13 04:01:25 2020
New Revision: 12019

Log:
kernel: don't force frame pointer unwinder for sysv, and remove an empty line 
in sysd

Modified:
   trunk/BOOK/chapter10/kernel.xml

Modified: trunk/BOOK/chapter10/kernel.xml
==
--- trunk/BOOK/chapter10/kernel.xml Tue Aug 11 17:55:34 2020(r12018)
+++ trunk/BOOK/chapter10/kernel.xml Thu Aug 13 04:01:25 2020(r12019)
@@ -79,13 +79,9 @@
 Device Drivers  ---
   Generic Driver Options  ---
[ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
-   [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
+   [*] Maintain a devtmpfs filesystem to mount at /dev 
[CONFIG_DEVTMPFS]
 
-Kernel hacking  ---
-   Choose kernel unwinder (Frame pointer unwinder)  --- 
[CONFIG_UNWINDER_FRAME_POINTER]
-
-  
-General setup -->
+  General setup -->
[*] Control Group support [CONFIG_CGROUPS]
[ ] Enable deprecated sysfs features to support old userspace tools 
[CONFIG_SYSFS_DEPRECATED]
[*] Configure standard kernel features (expert users) [CONFIG_EXPERT] 
--- 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12020 - trunk/BOOK/chapter10

2020-08-13 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Aug 13 04:09:56 2020
New Revision: 12020

Log:
kernel: remove another extra empty line

Strangely the empty line seems only in my local rendering.

Modified:
   trunk/BOOK/chapter10/kernel.xml

Modified: trunk/BOOK/chapter10/kernel.xml
==
--- trunk/BOOK/chapter10/kernel.xml Thu Aug 13 04:01:25 2020(r12019)
+++ trunk/BOOK/chapter10/kernel.xml Thu Aug 13 04:09:56 2020(r12020)
@@ -75,8 +75,7 @@
   Be sure to enable/disable/set the following features or the system 
might
   not work correctly or boot at all:
 
-  
-Device Drivers  ---
+  Device Drivers  ---
   Generic Driver Options  ---
[ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
[*] Maintain a devtmpfs filesystem to mount at /dev 
[CONFIG_DEVTMPFS]
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12010 - trunk/BOOK/chapter08

2020-08-06 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Aug  6 00:55:44 2020
New Revision: 12010

Log:
openssl: static libs are not installed

Modified:
   trunk/BOOK/chapter08/openssl.xml

Modified: trunk/BOOK/chapter08/openssl.xml
==
--- trunk/BOOK/chapter08/openssl.xmlTue Aug  4 13:51:46 2020(r12009)
+++ trunk/BOOK/chapter08/openssl.xmlThu Aug  6 00:55:44 2020(r12010)
@@ -88,7 +88,7 @@
   c_rehash and openssl
 
 
-  libcrypto.{so,a} and libssl.{so,a}
+  libcrypto.so and libssl.so
 
 
   /etc/ssl,
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11962 - trunk/BOOK/part3intro

2020-06-19 Thread xry111--- via lfs-book
Author: xry111
Date: Fri Jun 19 05:54:28 2020
New Revision: 11962

Log:
do not hardcode chapter numbers in General Compilation Instructions

Modified:
   trunk/BOOK/part3intro/generalinstructions.xml

Modified: trunk/BOOK/part3intro/generalinstructions.xml
==
--- trunk/BOOK/part3intro/generalinstructions.xml   Fri Jun 19 01:13:06 
2020(r11961)
+++ trunk/BOOK/part3intro/generalinstructions.xml   Fri Jun 19 05:54:28 
2020(r11962)
@@ -94,7 +94,8 @@
   
 
   Using the tar program, extract the 
package
-  to be built.  In Chapters 5 and 6, ensure you are 
+  to be built.  In  and
+  , ensure you are 
   the lfs user when extracting the 
package.
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11970 - trunk/BOOK/chapter08

2020-06-21 Thread xry111--- via lfs-book
Author: xry111
Date: Sun Jun 21 07:37:37 2020
New Revision: 11970

Log:
python: fix an inconsistent index label

Modified:
   trunk/BOOK/chapter08/python.xml

Modified: trunk/BOOK/chapter08/python.xml
==
--- trunk/BOOK/chapter08/python.xml Sat Jun 20 11:11:05 2020(r11969)
+++ trunk/BOOK/chapter08/python.xml Sun Jun 21 07:37:37 2020(r11970)
@@ -17,7 +17,7 @@
   Python-
 
   
-python
+Python
   
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11963 - trunk/BOOK/chapter06

2020-06-19 Thread xry111--- via lfs-book
Author: xry111
Date: Fri Jun 19 10:04:09 2020
New Revision: 11963

Log:
chapter06: file contents xref is missing

Modified:
   trunk/BOOK/chapter06/file.xml

Modified: trunk/BOOK/chapter06/file.xml
==
--- trunk/BOOK/chapter06/file.xml   Fri Jun 19 05:54:28 2020(r11962)
+++ trunk/BOOK/chapter06/file.xml   Fri Jun 19 10:04:09 2020(r11963)
@@ -64,8 +64,7 @@
 
   
 
-Details on this package are located in
+Details on this package are located in 
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11984 - trunk/BOOK/chapter02

2020-06-23 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Jun 23 06:32:20 2020
New Revision: 11984

Log:
chapter02/hostreqs: remove hard-pagebreak which is no longer needed (with 
fop-2.1 on higgs)

Modified:
   trunk/BOOK/chapter02/hostreqs.xml

Modified: trunk/BOOK/chapter02/hostreqs.xml
==
--- trunk/BOOK/chapter02/hostreqs.xml   Mon Jun 22 23:13:13 2020(r11983)
+++ trunk/BOOK/chapter02/hostreqs.xml   Tue Jun 23 06:32:20 2020(r11984)
@@ -157,7 +157,6 @@
   To see whether your host system has all the appropriate versions, and
   the ability to compile programs, run the following:
 
-
 cat  version-check.sh  "EOF"
 #!/bin/bash
 # Simple script to list version numbers of critical development tools
@@ -208,7 +207,7 @@
 tar --version | head -n1
 makeinfo --version | head -n1  # texinfo version
 xz --version | head -n1
-
+
 echo 'int main(){}'  dummy.c  g++ -o dummy dummy.c
 if [ -x dummy ]
   then echo "g++ compilation OK";
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11964 - trunk/BOOK/chapter05

2020-06-19 Thread xry111--- via lfs-book
Author: xry111
Date: Fri Jun 19 10:53:34 2020
New Revision: 11964

Log:
temp glibc: /tools -> $LFS/tools

Modified:
   trunk/BOOK/chapter05/glibc.xml

Modified: trunk/BOOK/chapter05/glibc.xml
==
--- trunk/BOOK/chapter05/glibc.xml  Fri Jun 19 10:04:09 2020(r11963)
+++ trunk/BOOK/chapter05/glibc.xml  Fri Jun 19 10:53:34 2020(r11964)
@@ -89,7 +89,7 @@
 
   The combined effect of these switches is that Glibc's build 
system
   configures itself to be cross-compiled, using the cross-linker and
-  cross-compiler in /tools.
+  cross-compiler in $LFS/tools.
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11973 - trunk/BOOK/chapter04

2020-06-22 Thread xry111--- via lfs-book
Author: xry111
Date: Mon Jun 22 00:47:08 2020
New Revision: 11973

Log:
environment: make bash.bashrc note more clear

Decorate usernames with XML labels.
Modify the command so it only applies to systems with bash.bashrc.
Correct the time point which we stop to use lfs user.
Tell the audience that bash.bashrc is useless on LFS.

Modified:
   trunk/BOOK/chapter04/settingenviron.xml

Modified: trunk/BOOK/chapter04/settingenviron.xml
==
--- trunk/BOOK/chapter04/settingenviron.xml Sun Jun 21 18:21:48 2020
(r11972)
+++ trunk/BOOK/chapter04/settingenviron.xml Mon Jun 22 00:47:08 2020
(r11973)
@@ -157,17 +157,25 @@
 
  Several commercial distributions add a non-documented instantiation
  of /etc/bash.bashrc to the initialization of
- bash. This file has the potential to modify the lfs
+ bash. This file has the potential to modify the
+ lfs
  user's envirnment in ways that can affect the building of critical LFS
- packages. To make sure the lfs user's envronment is clean, check for the
+ packages. To make sure the lfs
+ user's envronment is clean, check for the
  presence of /etc/bash.bashrc and, if present, move it
- out of the way.  As the root user, run:
+ out of the way.  As the root
+ user, run:
 
- mv -v /etc/bash.bashrc 
/etc/bash.bashrc.NOUSE 
+ [ ! -e /etc/bash.bashrc ] || mv -v 
/etc/bash.bashrc /etc/bash.bashrc.NOUSE 
 
- After use of the lfs user is finished at the end of After use of the lfs user is finished at the beginning of , you can restore
- /etc/bash.bashrc (if desired).
+/etc/bash.bashrc (if desired).
+
+ Note that the LFS Bash package we will build in
+  is not configured to load or execute
+ /etc/bash.bashrc, so this file is useless on a
+ completed LFS system.
   
 
   Finally, to have the environment fully prepared for building the
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-06-20 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Jun 20 00:26:14 2020
New Revision: 11966

Log:
minor rewords in the beginning of chap 7

Modified:
   trunk/BOOK/chapter07/changingowner.xml
   trunk/BOOK/chapter07/chroot.xml

Modified: trunk/BOOK/chapter07/changingowner.xml
==
--- trunk/BOOK/chapter07/changingowner.xml  Fri Jun 19 15:25:31 2020
(r11965)
+++ trunk/BOOK/chapter07/changingowner.xml  Sat Jun 20 00:26:14 2020
(r11966)
@@ -21,8 +21,8 @@
   Currently, the whole directory hierarchy in $LFS
   is owned by the user lfs, a user
-  that exists only on the host system. If the directories under $LFS are kept as they are, the files are
+  that exists only on the host system. If the directories and files under 
$LFS are kept as they are, they will be
   owned by a user ID without a corresponding account. This is dangerous because
   a user account created later could get this same user ID and would own all
   the files under $LFS, thus exposing

Modified: trunk/BOOK/chapter07/chroot.xml
==
--- trunk/BOOK/chapter07/chroot.xml Fri Jun 19 15:25:31 2020(r11965)
+++ trunk/BOOK/chapter07/chroot.xml Sat Jun 20 00:26:14 2020(r11966)
@@ -43,8 +43,8 @@
   (/) directory.
 
   Notice that /tools/bin is not
-  in the PATH. This means that a temporary tool will no longer 
be
-  used once its final version is installed. This occurs when the shell does not
+  in the PATH. This means that the cross toolchain will no 
longer be
+  used in the chroot environment. This occurs when the shell does not
   remember the locations of executed binariesfor this
   reason, hashing is switched off by passing the +h 
option
   to bash.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11974 - trunk/BOOK/chapter04

2020-06-22 Thread xry111--- via lfs-book
Author: xry111
Date: Mon Jun 22 00:52:44 2020
New Revision: 11974

Log:
environment: decorate a remaining lfs username

Modified:
   trunk/BOOK/chapter04/settingenviron.xml

Modified: trunk/BOOK/chapter04/settingenviron.xml
==
--- trunk/BOOK/chapter04/settingenviron.xml Mon Jun 22 00:47:08 2020
(r11973)
+++ trunk/BOOK/chapter04/settingenviron.xml Mon Jun 22 00:52:44 2020
(r11974)
@@ -168,7 +168,8 @@
 
  [ ! -e /etc/bash.bashrc ] || mv -v 
/etc/bash.bashrc /etc/bash.bashrc.NOUSE 
 
- After use of the lfs user is finished at the beginning of After use of the lfs
+ user is finished at the beginning of , you can restore
 /etc/bash.bashrc (if desired).
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11976 - in trunk/BOOK: . chapter01 chapter04

2020-06-22 Thread xry111--- via lfs-book
Author: xry111
Date: Mon Jun 22 06:40:45 2020
New Revision: 11976

Log:
bc: new homepage

Deleted:
   trunk/BOOK/chapter01/livecd.xml
   trunk/BOOK/chapter04/aboutlfs.xml
Modified:
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/packages.ent
==
--- trunk/BOOK/packages.ent Mon Jun 22 01:11:36 2020(r11975)
+++ trunk/BOOK/packages.ent Mon Jun 22 06:40:45 2020(r11976)
@@ -61,7 +61,7 @@
 
 https://github.com/gavinhoward/bc/releases/download//bc-.tar.xz;>
 
-https://github.com/gavinhoward/bc;>
+https://git.yzena.com/gavin/bc;>
 
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11967 - trunk/BOOK/chapter06

2020-06-20 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Jun 20 05:39:28 2020
New Revision: 11967

Log:
add xreflabel gcc-pass2, to be consistent with gcc-pass1

Modified:
   trunk/BOOK/chapter06/gcc-pass2.xml

Modified: trunk/BOOK/chapter06/gcc-pass2.xml
==
--- trunk/BOOK/chapter06/gcc-pass2.xml  Sat Jun 20 00:26:14 2020(r11966)
+++ trunk/BOOK/chapter06/gcc-pass2.xml  Sat Jun 20 05:39:28 2020(r11967)
@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-
+
   
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2020-06-20 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Jun 20 05:54:54 2020
New Revision: 11968

Log:
chap7/stripping: when refering $LFS as an envar, use  instead of 


Modified:
   trunk/BOOK/chapter07/stripping.xml

Modified: trunk/BOOK/chapter07/stripping.xml
==
--- trunk/BOOK/chapter07/stripping.xml  Sat Jun 20 05:39:28 2020(r11967)
+++ trunk/BOOK/chapter07/stripping.xml  Sat Jun 20 05:54:54 2020(r11968)
@@ -155,7 +155,7 @@
   Since the sources are located under 
   $LFS, they are included in the
   backup archive as well, so they do not need to be downloaded again. After
-  checking that $LFS is set 
properly,
+  checking that $LFS is set properly,
   restore the backup by executing the following commands:
 
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11958 - trunk/BOOK/part3intro

2020-06-18 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Jun 18 20:47:58 2020
New Revision: 11958

Log:
fix two wrong hardcoded Chapter numbers, replacing with xrefs

Modified:
   trunk/BOOK/part3intro/toolchaintechnotes.xml

Modified: trunk/BOOK/part3intro/toolchaintechnotes.xml
==
--- trunk/BOOK/part3intro/toolchaintechnotes.xmlThu Jun 18 19:14:14 
2020(r11957)
+++ trunk/BOOK/part3intro/toolchaintechnotes.xmlThu Jun 18 20:47:58 
2020(r11958)
@@ -309,11 +309,13 @@
 and generally does not rely on toolchain defaults.
 
 As said above, the standard C++ library is compiled next, followed in
-Chapter 6 by all the programs that need themselves to be built. The install
+ by all the programs that need
+themselves to be built. The install
 step of libstdc++ uses the DESTDIR variable to have the
 programs land into the LFS filesystem.
 
-In Chapter 7 the native lfs compiler is built. First binutils-pass2,
+In  the native lfs
+compiler is built. First binutils-pass2,
 with the same DESTDIR install as the other programs is
 built, and then the second pass of GCC is constructed, omitting libstdc++
 and other non-important libraries.  Due to some weird logic in GCC's
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11951 - trunk/BOOK/part3intro

2020-06-17 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jun 17 21:01:43 2020
New Revision: 11951

Log:
custom xreflabel for toolchaintechnotes: 'section ii' is really stupid

Modified:
   trunk/BOOK/part3intro/toolchaintechnotes.xml

Modified: trunk/BOOK/part3intro/toolchaintechnotes.xml
==
--- trunk/BOOK/part3intro/toolchaintechnotes.xmlWed Jun 17 17:32:14 
2020(r11950)
+++ trunk/BOOK/part3intro/toolchaintechnotes.xmlWed Jun 17 21:01:43 
2020(r11951)
@@ -5,7 +5,7 @@
   %general-entities;
 ]>
 
-
+
   
 
   Toolchain Technical Notes
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11952 - trunk/BOOK/chapter04

2020-06-17 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jun 17 21:22:40 2020
New Revision: 11952

Log:
fix a typo

Modified:
   trunk/BOOK/chapter04/settingenviron.xml

Modified: trunk/BOOK/chapter04/settingenviron.xml
==
--- trunk/BOOK/chapter04/settingenviron.xml Wed Jun 17 21:01:43 2020
(r11951)
+++ trunk/BOOK/chapter04/settingenviron.xml Wed Jun 17 21:22:40 2020
(r11952)
@@ -63,7 +63,7 @@
   be used as soon as they are installed. By switching off the hash function,
   the shell will always search the PATH when a program is to
   be run. As such, the shell will find the newly compiled tools in
-  ~/tools as soon as they are
+  $LFS/tools as soon as they are
   available without remembering a previous version of the same program in a
   different location.
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11954 - trunk/BOOK/part3intro

2020-06-18 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Jun 18 01:42:46 2020
New Revision: 11954

Log:
toolchain notes: 'this chapter' -> 'chapter 5', as there is no 'this chapter'

Modified:
   trunk/BOOK/part3intro/toolchaintechnotes.xml

Modified: trunk/BOOK/part3intro/toolchaintechnotes.xml
==
--- trunk/BOOK/part3intro/toolchaintechnotes.xmlThu Jun 18 00:14:06 
2020(r11953)
+++ trunk/BOOK/part3intro/toolchaintechnotes.xmlThu Jun 18 01:42:46 
2020(r11954)
@@ -16,7 +16,7 @@
   clearer after performing an actual build. This section can be referred
   to at any time during the process.
 
-  The overall goal of this chapter and The overall goal of  and  is to produce a temporary area that
   contains a known-good set of tools that can be isolated from the host system.
   By using chroot, the commands in the remaining chapters
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r11894 - trunk/BOOK/appendices

2020-06-03 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jun  3 06:55:57 2020
New Revision: 11894

Log:
dependencies: iproute2 links to libcap and libelf

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Tue Jun  2 21:57:46 2020
(r11893)
+++ trunk/BOOK/appendices/dependencies.xml  Wed Jun  3 06:55:57 2020
(r11894)
@@ -1303,8 +1303,8 @@
 
 
 
- Bash, Bison, Coreutils, Flex, GCC, Glibc, Make,
- and Linux API Headers
+ Bash, Bison, Coreutils, Flex, GCC, Glibc, Make, Libcap,
+ Libelf, and Linux API Headers
 
   
 
@@ -1328,7 +1328,7 @@
 
 
 
-  None
+  Berkeley DB and Iptables
 
   
 
@@ -1464,7 +1464,7 @@
 
 
 
-  Shadow
+  IProute2 and Shadow
 
   
 
@@ -1499,7 +1499,7 @@
 
 
 
-  Linux Kernel
+  IProute2 and Linux Kernel
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12004 - trunk/BOOK/chapter08

2020-07-25 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Jul 25 05:30:34 2020
New Revision: 12004

Log:
binutils: add libctf libraries to Installed Libraries

Modified:
   trunk/BOOK/chapter08/binutils.xml

Modified: trunk/BOOK/chapter08/binutils.xml
==
--- trunk/BOOK/chapter08/binutils.xml   Thu Jul 23 12:47:50 2020(r12003)
+++ trunk/BOOK/chapter08/binutils.xml   Sat Jul 25 05:30:34 2020(r12004)
@@ -178,7 +178,7 @@
   
 addr2line, ar, as, c++filt, dwp, elfedit, gprof, ld, ld.bfd, 
ld.gold, nm,
 objcopy, objdump, ranlib, readelf, size, strings, and strip
-libbfd.{a,so} and libopcodes.{a,so}
+libbfd.{a,so}, libctf.{a,so}, libctf-nobfd.{a,so}, and 
libopcodes.{a,so}
 /usr/lib/ldscripts
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12071 - in trunk/BOOK: chapter02 chapter05 chapter06 chapter08 chapter09

2020-12-26 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Dec 26 07:51:54 2020
New Revision: 12071

Log:
decorate usernames with 

Modified:
   trunk/BOOK/chapter02/aboutlfs.xml
   trunk/BOOK/chapter02/stages.xml
   trunk/BOOK/chapter05/glibc.xml
   trunk/BOOK/chapter06/introduction.xml
   trunk/BOOK/chapter08/coreutils.xml
   trunk/BOOK/chapter08/tar.xml
   trunk/BOOK/chapter08/util-linux.xml
   trunk/BOOK/chapter09/systemd-custom.xml

Modified: trunk/BOOK/chapter02/aboutlfs.xml
==
--- trunk/BOOK/chapter02/aboutlfs.xml   Wed Dec 23 05:08:27 2020(r12070)
+++ trunk/BOOK/chapter02/aboutlfs.xml   Sat Dec 26 07:51:54 2020(r12071)
@@ -57,7 +57,8 @@
   host system.  If logging in through a graphical display manager, the
   user's .bash_profile is not normally used when
   a virtual terminal is started.  In this case, add the export command to
-  the .bashrc file for the user and root.  In addition, 
+  the .bashrc file for the user and
+  root.  In addition, 
   some distributions have instructions to not run the 
.bashrc 
   instructions in a non-interactive bash invocation.  Be sure to add the
   export command before the test for non-interactive use.

Modified: trunk/BOOK/chapter02/stages.xml
==
--- trunk/BOOK/chapter02/stages.xml Wed Dec 23 05:08:27 2020(r12070)
+++ trunk/BOOK/chapter02/stages.xml Sat Dec 26 07:51:54 2020(r12071)
@@ -25,9 +25,10 @@
   
 
   
-Procedures done as the root user after Section 2.4 need to 
-have the LFS environment variable set FOR THE ROOT
-USER.
+Procedures done as the
+root user after Section
+2.4 need to have the LFS environment variable set
+FOR THE ROOT USER.
   
 
   
@@ -41,7 +42,8 @@
   
 
   
-Threse two chapters must be done as user 
lfs.
+These two chapters must be done as user
+lfs.
 A su - lfs needs to be done before any task in these
 chapters. Failing to do that, you are at risk of installing packages 
to the
 host, and potentially rendering it unusable.
@@ -68,18 +70,22 @@
   
 A few operations, from Changing Ownership to
 Entering the Chroot Environment must be done as the
-root user, with the LFS environment variable set for the root 
user.
+root user, with the LFS
+environment variable set for the
+rootuser.
   
 
   
   When entering chroot, the LFS environment variable must be set
- for root. The LFS variable is not used afterwards.
+ for root. The LFS
+ variable is not used afterwards.
   
 
   
   The virtual file systems must be mounted.  This can be done
  before or after entering chroot by changing to a host virtual terminal
- and, as root, running the commands in 
+ and, as root, running the
+ commands in 
   and 
  .
   

Modified: trunk/BOOK/chapter05/glibc.xml
==
--- trunk/BOOK/chapter05/glibc.xml  Wed Dec 23 05:08:27 2020(r12070)
+++ trunk/BOOK/chapter05/glibc.xml  Sat Dec 26 07:51:54 2020(r12071)
@@ -147,10 +147,11 @@
 Install the package:
 
 If LFS is not properly set, and despite the
-recommendations, you are building as root, the next command will install
-the newly built glibc to your host system, which most likely will render it
-unusable. So double check that the environment is correctly set for user
-lfs.
+recommendations, you are building as
+root, the next command will
+install the newly built glibc to your host system, which most likely
+will render it unusable. So double check that the environment is
+correctly set, before running the following command.
 
 make DESTDIR=$LFS 
install
 

Modified: trunk/BOOK/chapter06/introduction.xml
==
--- trunk/BOOK/chapter06/introduction.xml   Wed Dec 23 05:08:27 2020
(r12070)
+++ trunk/BOOK/chapter06/introduction.xml   Sat Dec 26 07:51:54 2020
(r12071)
@@ -22,7 +22,8 @@
   independent of the host system yet.
 
   Once again, let us recall that improper setting of LFS
-  together with building as root, may render your computer unusable.
+  together with building as root,
+  may render your computer unusable.
   This whole chapter must be done as user lfs, with the environment as described in
   .

Modified: trunk/BOOK/chapter08/coreutils.xml
==
--- trunk/BOOK/chapter08/coreutils.xml  Wed Dec 23 05:08:27 2020(r12070)
+++ trunk/BOOK/chapter08/coreutils.xml  Sat Dec 26 07:51:54 2020(r12071)
@@ -87,7 +87,7 @@
 

[lfs-book] r12066 - trunk/BOOK/chapter08

2020-12-04 Thread xry111--- via lfs-book
Author: xry111
Date: Fri Dec  4 13:14:55 2020
New Revision: 12066

Log:
systemd: add explanation to -Dmode

Modified:
   trunk/BOOK/chapter08/systemd.xml

Modified: trunk/BOOK/chapter08/systemd.xml
==
--- trunk/BOOK/chapter08/systemd.xmlThu Dec  3 20:05:25 2020(r12065)
+++ trunk/BOOK/chapter08/systemd.xmlFri Dec  4 13:14:55 2020(r12066)
@@ -190,6 +190,14 @@
 
   
 
+  
+-Dmode=release
+
+  Disable some features considered experimental by upstream.
+  
+
+  
+
 
 
 Compile the package:
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12068 - trunk/BOOK/chapter08

2020-12-09 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Dec  9 07:10:39 2020
New Revision: 12068

Log:
openssl: renaming the docdir is not 'if desired'

Modified:
   trunk/BOOK/chapter08/openssl.xml

Modified: trunk/BOOK/chapter08/openssl.xml
==
--- trunk/BOOK/chapter08/openssl.xmlMon Dec  7 16:23:56 2020(r12067)
+++ trunk/BOOK/chapter08/openssl.xmlWed Dec  9 07:10:39 2020(r12068)
@@ -68,10 +68,14 @@
 sed -i '/INSTALL_LIBS/s/libcrypto.a 
libssl.a//' Makefile
 make MANSUFFIX=ssl install
 
-If desired, install the documentation:
+Add the version to the documentation directory name, to be
+consistent with other packages:
 
-mv -v /usr/share/doc/openssl 
/usr/share/doc/openssl-
-cp -vfr doc/* /usr/share/doc/openssl-
+mv -v /usr/share/doc/openssl 
/usr/share/doc/openssl-
+
+If desired, install some additional documentation:
+
+cp -vfr doc/* 
/usr/share/doc/openssl-
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12070 - trunk/BOOK/chapter11

2020-12-23 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Dec 23 05:08:27 2020
New Revision: 12070

Log:
reboot: remove the reference to gptfdisk and parted, fdisk now could handle GPT

Modified:
   trunk/BOOK/chapter11/reboot.xml

Modified: trunk/BOOK/chapter11/reboot.xml
==
--- trunk/BOOK/chapter11/reboot.xml Mon Dec 14 13:45:13 2020(r12069)
+++ trunk/BOOK/chapter11/reboot.xml Wed Dec 23 05:08:27 2020(r12070)
@@ -51,12 +51,6 @@
 wget.
 
 
-If one or more of your disk drives have a GUID partition
-table (GPT), either gptfdisk or parted will be useful.
-
-
 Finally, a review of the following configuration files
 is also appropriate at this point.  
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12073 - trunk/BOOK/appendices

2020-12-30 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Dec 30 02:42:28 2020
New Revision: 12073

Log:
dependencies: dejagnu depends on texinfo

Modified:
   trunk/BOOK/appendices/dependencies.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Mon Dec 28 00:33:15 2020
(r12072)
+++ trunk/BOOK/appendices/dependencies.xml  Wed Dec 30 02:42:28 2020
(r12073)
@@ -476,7 +476,7 @@
 
 
 
- Bash, Coreutils, Diffutils, GCC, Grep, Make, and Sed
+ Bash, Coreutils, Diffutils, GCC, Grep, Make, Sed, and 
Texinfo
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12076 - trunk/BOOK/chapter08

2020-12-31 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Dec 31 16:35:52 2020
New Revision: 12076

Log:
chapter08/zstd: run the tests

Modified:
   trunk/BOOK/chapter08/zstd.xml

Modified: trunk/BOOK/chapter08/zstd.xml
==
--- trunk/BOOK/chapter08/zstd.xml   Thu Dec 31 10:09:34 2020(r12075)
+++ trunk/BOOK/chapter08/zstd.xml   Thu Dec 31 16:35:52 2020(r12076)
@@ -46,7 +46,9 @@
 
 make
 
-This package does not come with a test suite.
+To test the results, issue:
+
+make check
 
 Install the package:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12079 - trunk/BOOK/chapter08

2021-01-01 Thread xry111--- via lfs-book
Author: xry111
Date: Fri Jan  1 03:25:47 2021
New Revision: 12079

Log:
fix the descriptions, after the removal of commands

Modified:
   trunk/BOOK/chapter08/bc.xml
   trunk/BOOK/chapter08/readline.xml

Modified: trunk/BOOK/chapter08/bc.xml
==
--- trunk/BOOK/chapter08/bc.xml Thu Dec 31 16:40:41 2020(r12078)
+++ trunk/BOOK/chapter08/bc.xml Fri Jan  1 03:25:47 2021(r12079)
@@ -49,9 +49,9 @@
   The meaning of the configure options:
 
   
-CC=gcc CFLAGS="-std=c99"
+CC=gcc"
 
-  These parameters specify the compiler and the C standard to 
use.
+  These parameters specify the compiler to use.
 
   
 

Modified: trunk/BOOK/chapter08/readline.xml
==
--- trunk/BOOK/chapter08/readline.xml   Thu Dec 31 16:40:41 2020(r12078)
+++ trunk/BOOK/chapter08/readline.xml   Fri Jan  1 03:25:47 2021(r12079)
@@ -95,7 +95,7 @@
 make SHLIB_LIBS="-lncursesw" 
install
 
 Now move the dynamic libraries to a more appropriate location
-and fix up some permissions and symbolic links:
+and fix up symbolic links:
 
 mv -v /usr/lib/lib{readline,history}.so.* 
/lib
 ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12078 - trunk/BOOK/chapter08

2020-12-31 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Dec 31 16:40:41 2020
New Revision: 12078

Log:
bc: remove unnecessary CFLAGS variable setting

Modified:
   trunk/BOOK/chapter08/bc.xml

Modified: trunk/BOOK/chapter08/bc.xml
==
--- trunk/BOOK/chapter08/bc.xml Thu Dec 31 16:37:16 2020(r12077)
+++ trunk/BOOK/chapter08/bc.xml Thu Dec 31 16:40:41 2020(r12078)
@@ -43,7 +43,7 @@
 
 Prepare Bc for compilation:
 
-PREFIX=/usr CC=gcc CFLAGS="-std=c99" 
./configure.sh -G -O3
+PREFIX=/usr CC=gcc ./configure.sh -G 
-O3
 
 
   The meaning of the configure options:
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12077 - trunk/BOOK/chapter08

2020-12-31 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Dec 31 16:37:16 2020
New Revision: 12077

Log:
chapter08/readline: remove one unneeded chmod

Modified:
   trunk/BOOK/chapter08/readline.xml

Modified: trunk/BOOK/chapter08/readline.xml
==
--- trunk/BOOK/chapter08/readline.xml   Thu Dec 31 16:35:52 2020(r12076)
+++ trunk/BOOK/chapter08/readline.xml   Thu Dec 31 16:37:16 2020(r12077)
@@ -98,7 +98,6 @@
 and fix up some permissions and symbolic links:
 
 mv -v /usr/lib/lib{readline,history}.so.* 
/lib
-chmod -v u+w /lib/lib{readline,history}.so.*
 ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so
 ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) 
/usr/lib/libhistory.so
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12099 - trunk/BOOK/chapter08

2021-01-16 Thread xry111--- via lfs-book
Author: xry111
Date: Sat Jan 16 21:52:14 2021
New Revision: 12099

Log:
tcl: fix the name of doc tarball

Modified:
   trunk/BOOK/chapter08/tcl.xml

Modified: trunk/BOOK/chapter08/tcl.xml
==
--- trunk/BOOK/chapter08/tcl.xmlSat Jan 16 00:46:51 2021(r12098)
+++ trunk/BOOK/chapter08/tcl.xmlSat Jan 16 21:52:14 2021(r12099)
@@ -57,7 +57,7 @@
 
 First, unpack the documentation by issuing the following 
command:
 
-tar -xf ../tcl8.6.10-html.tar.gz 
--strip-components=1
+tar -xf ../tcl-html.tar.gz 
--strip-components=1
 
 Prepare Tcl for compilation:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12093 - in trunk/BOOK: . bootscripts bootscripts/lfs/init.d bootscripts/lfs/lib/services chapter01 chapter07 chapter08 chapter09

2021-01-13 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jan 13 00:44:28 2021
New Revision: 12093

Log:
use /run for runtime state directories

Modified:
   trunk/BOOK/bootscripts/ChangeLog
   trunk/BOOK/bootscripts/lfs/init.d/cleanfs
   trunk/BOOK/bootscripts/lfs/init.d/rc
   trunk/BOOK/bootscripts/lfs/lib/services/init-functions
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter07/createfiles.xml
   trunk/BOOK/chapter07/util-linux.xml
   trunk/BOOK/chapter08/systemd.xml
   trunk/BOOK/chapter08/sysvinit.xml
   trunk/BOOK/chapter08/util-linux.xml
   trunk/BOOK/chapter09/bootscripts.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/bootscripts/ChangeLog
==
--- trunk/BOOK/bootscripts/ChangeLogMon Jan 11 14:31:07 2021(r12092)
+++ trunk/BOOK/bootscripts/ChangeLogWed Jan 13 00:44:28 2021(r12093)
@@ -1,3 +1,6 @@
+2021-01-13 Xi Ruoyao 
+   * Use /run instead of deprecated /var/run
+
 2020-10-02 DJ Lucas 
* make $local_fs a Should-Stop dependency of swap to allow clean install
 

Modified: trunk/BOOK/bootscripts/lfs/init.d/cleanfs
==
--- trunk/BOOK/bootscripts/lfs/init.d/cleanfs   Mon Jan 11 14:31:07 2021
(r12092)
+++ trunk/BOOK/bootscripts/lfs/init.d/cleanfs   Wed Jan 13 00:44:28 2021
(r12093)
@@ -21,8 +21,8 @@
 # Default-Start:   S
 # Default-Stop:
 # Short-Description:   Cleans temporary directories early in the boot process.
-# Description: Cleans temporary directories /var/run, /var/lock, and
-#  optionally, /tmp.  cleanfs also creates /var/run/utmp 
+# Description: Cleans temporary directories /run, /var/lock, and
+#  optionally, /tmp.  cleanfs also creates /run/utmp 
 #  and any files defined in /etc/sysconfig/createfiles.
 # X-LFS-Provided-By:   LFS
 ### END INIT INFO
@@ -95,11 +95,11 @@
  find . -xdev -mindepth 1 ! -name lost+found -delete || failed=1
   fi
 
-  > /var/run/utmp
+  > /run/utmp
 
   if grep -q '^utmp:' /etc/group ; then
- chmod 664 /var/run/utmp
- chgrp utmp /var/run/utmp
+ chmod 664 /run/utmp
+ chgrp utmp /run/utmp
   fi
 
   (exit ${failed})

Modified: trunk/BOOK/bootscripts/lfs/init.d/rc
==
--- trunk/BOOK/bootscripts/lfs/init.d/rcMon Jan 11 14:31:07 2021
(r12092)
+++ trunk/BOOK/bootscripts/lfs/init.d/rcWed Jan 13 00:44:28 2021
(r12093)
@@ -142,7 +142,7 @@
 [ "${interactive}" != "i" ] && interactive=""
 
 # Read the state file if it exists from runlevel S
-[ -r /var/run/interactive ] && source /var/run/interactive
+[ -r /run/interactive ] && source /run/interactive
 
 # Attempt to stop all services started by the previous runlevel,
 # and killed in this runlevel
@@ -217,9 +217,9 @@
 
 # Store interactive variable on switch from runlevel S and remove if not
 if [ "${runlevel}" == "S" -a "${interactive}" == "i" ]; then
-echo "interactive=\"i\"" > /var/run/interactive
+echo "interactive=\"i\"" > /run/interactive
 else
-rm -f /var/run/interactive 2> /dev/null
+rm -f /run/interactive 2> /dev/null
 fi
 
 # Copy the boot log on initial boot only

Modified: trunk/BOOK/bootscripts/lfs/lib/services/init-functions
==
--- trunk/BOOK/bootscripts/lfs/lib/services/init-functions  Mon Jan 11 
14:31:07 2021(r12092)
+++ trunk/BOOK/bootscripts/lfs/lib/services/init-functions  Wed Jan 13 
00:44:28 2021(r12093)
@@ -358,8 +358,8 @@
 prefix=`echo "${program}" | sed 's/[^/]*$//'`
 progname=`echo "${program}" | sed "s@${prefix}@@"`
 
-if [ -e "/var/run/${progname}.pid" ]; then
-rm -f "/var/run/${progname}.pid" 2> /dev/null
+if [ -e "/run/${progname}.pid" ]; then
+rm -f "/run/${progname}.pid" 2> /dev/null
 fi
 else
 if [ -e "${pidfile}" ]; then rm -f "${pidfile}" 2> /dev/null; fi
@@ -434,8 +434,8 @@
 fi
 
 # If a PID file exists with that name, assume that is it.
-if [ -e "/var/run/${progname}.pid" ]; then
-pidfile="/var/run/${progname}.pid"
+if [ -e "/run/${progname}.pid" ]; then
+pidfile="/run/${progname}.pid"
 fi
 fi
 
@@ -528,9 +528,9 @@
   /bin/echo -e "${INFO}${base} is running with Process" \
  "ID(s) ${pidlist}.${NORMAL}"
else
-  if [ -n "${base}" -a -e "/var/run/${base}.pid" ]; then
+  if [ -n "${base}" -a -e "/run/${base}.pid" ]; then
  /bin/echo -e "${WARNING}${1} is not running but" \
-"/var/run/${base}.pid exists.${NORMAL}"
+"/run/${base}.pid exists.${NORMAL}"
   else
  if [ -n "${pidfile}" -a -e 

[lfs-book] r12094 - in trunk/BOOK: chapter01 chapter08

2021-01-13 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jan 13 01:00:22 2021
New Revision: 12094

Log:
util-linux: runstatedir=/run is also needed by sysv

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter08/util-linux.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Wed Jan 13 00:44:28 2021(r12093)
+++ trunk/BOOK/chapter01/changelog.xml  Wed Jan 13 01:00:22 2021(r12094)
@@ -45,7 +45,7 @@
 
   2021-01-13
   
-
+
   [xry111] - Fix util-linux uuidd socket path.
 
 

Modified: trunk/BOOK/chapter08/util-linux.xml
==
--- trunk/BOOK/chapter08/util-linux.xml Wed Jan 13 00:44:28 2021(r12093)
+++ trunk/BOOK/chapter08/util-linux.xml Wed Jan 13 01:00:22 2021(r12094)
@@ -64,7 +64,8 @@
 --disable-static \
 --without-python \
 --without-systemd\
---without-systemdsystemunitdir
+--without-systemdsystemunitdir \
+runstatedir=/run
 
 ./configure 
ADJTIME_PATH=/var/lib/hwclock/adjtime   \
 --docdir=/usr/share/doc/util-linux- \
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12096 - trunk/BOOK

2021-01-13 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jan 13 18:47:18 2021
New Revision: 12096

Log:
bye FTP

Modified:
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/packages.ent
==
--- trunk/BOOK/packages.ent Wed Jan 13 17:15:52 2021(r12095)
+++ trunk/BOOK/packages.ent Wed Jan 13 18:47:18 2021(r12096)
@@ -181,7 +181,7 @@
 
 
 
-ftp://ftp.astron.com/pub/file/file-.tar.gz;>
+http://ftp.astron.com/pub/file/file-.tar.gz;>
 
 https://www.darwinsys.com/file/;>
 
@@ -393,7 +393,7 @@
 
 
 
-ftp://sourceware.org/pub/libffi/libffi-.tar.gz;>
+https://sourceware.org/pub/libffi/libffi-.tar.gz;>
 
 https://sourceware.org/libffi/;>
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12095 - trunk/BOOK/chapter08

2021-01-13 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jan 13 17:15:52 2021
New Revision: 12095

Log:
ninja: don't use  just for emphasis

Modified:
   trunk/BOOK/chapter08/ninja.xml

Modified: trunk/BOOK/chapter08/ninja.xml
==
--- trunk/BOOK/chapter08/ninja.xml  Wed Jan 13 01:00:22 2021(r12094)
+++ trunk/BOOK/chapter08/ninja.xml  Wed Jan 13 17:15:52 2021(r12095)
@@ -58,11 +58,7 @@
 
 Using the optional procedure below allows a 
user to
 limit the number of parallel processes via an environment variable, 
-NINJAJOBS.  For example, setting:
-
- 
+NINJAJOBS.  For example, setting:
 
 export NINJAJOBS=4
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12080 - trunk/BOOK/chapter08

2021-01-04 Thread xry111--- via lfs-book
Author: xry111
Date: Mon Jan  4 06:03:35 2021
New Revision: 12080

Log:
ch08/python: fix a hardcoded minor version in command explanation

Modified:
   trunk/BOOK/chapter08/python.xml

Modified: trunk/BOOK/chapter08/python.xml
==
--- trunk/BOOK/chapter08/python.xml Fri Jan  1 03:25:47 2021(r12079)
+++ trunk/BOOK/chapter08/python.xml Mon Jan  4 06:03:35 2021(r12080)
@@ -103,7 +103,7 @@
   The meaning of the install commands:
 
 
-  chmod -v 755 /usr/lib/libpython3.{8.,}so
+  chmod -v 755 
/usr/lib/libpython{,3}.so
   
 Fix permissions for libraries to be consistent with other
 libraries.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12108 - trunk/BOOK/chapter06

2021-02-01 Thread xry111--- via lfs-book
Author: xry111
Date: Mon Feb  1 23:42:17 2021
New Revision: 12108

Log:
remove ch6 zlib, and workaround binutils issue

Modified:
   trunk/BOOK/chapter06/binutils-pass2.xml
   trunk/BOOK/chapter06/chapter06.xml

Modified: trunk/BOOK/chapter06/binutils-pass2.xml
==
--- trunk/BOOK/chapter06/binutils-pass2.xml Mon Feb  1 00:37:19 2021
(r12107)
+++ trunk/BOOK/chapter06/binutils-pass2.xml Mon Feb  1 23:42:17 2021
(r12108)
@@ -89,6 +89,14 @@
 
 make DESTDIR=$LFS 
install
 
+
+  Workaround an issue causing
+  libctf.so
+  to link against zlib from the host distribution:
+
+
+install -vm755 libctf/.libs/libctf.so.0.0.0 
$LFS/usr/lib
+
   
 
   

Modified: trunk/BOOK/chapter06/chapter06.xml
==
--- trunk/BOOK/chapter06/chapter06.xml  Mon Feb  1 00:37:19 2021(r12107)
+++ trunk/BOOK/chapter06/chapter06.xml  Mon Feb  1 23:42:17 2021(r12108)
@@ -22,7 +22,7 @@
   http://www.w3.org/2001/XInclude; href="gawk.xml"/>
   http://www.w3.org/2001/XInclude; href="grep.xml"/>
   http://www.w3.org/2001/XInclude; href="gzip.xml"/>
-  http://www.w3.org/2001/XInclude; href="zlib.xml"/>
+  
   http://www.w3.org/2001/XInclude; href="make.xml"/>
   http://www.w3.org/2001/XInclude; href="patch.xml"/>
   http://www.w3.org/2001/XInclude; href="sed.xml"/>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2021-01-27 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jan 27 21:10:13 2021
New Revision: 12103

Log:
/etc/{passwd,group}: add uuidd user and group

Modified:
   trunk/BOOK/chapter07/createfiles.xml

Modified: trunk/BOOK/chapter07/createfiles.xml
==
--- trunk/BOOK/chapter07/createfiles.xmlTue Jan 26 20:43:14 2021
(r12102)
+++ trunk/BOOK/chapter07/createfiles.xmlWed Jan 27 21:10:13 2021
(r12103)
@@ -62,6 +62,7 @@
 bin:x:1:1:bin:/dev/null:/bin/false
 daemon:x:6:6:Daemon User:/dev/null:/bin/false
 messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/bin/false
+uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/bin/false
 nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
 EOF
 
@@ -78,6 +79,7 @@
 systemd-resolve:x:77:77:systemd Resolver:/:/bin/false
 systemd-timesync:x:78:78:systemd Time Synchronization:/:/bin/false
 systemd-coredump:x:79:79:systemd Core Dumper:/:/bin/false
+uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/bin/false
 nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
 EOF
 
@@ -109,6 +111,7 @@
 input:x:24:
 mail:x:34:
 kvm:x:61:
+uuidd:x:80:
 wheel:x:97:
 nogroup:x:99:
 users:x:999:
@@ -145,6 +148,7 @@
 systemd-resolve:x:77:
 systemd-timesync:x:78:
 systemd-coredump:x:79:
+uuidd:x:80:
 wheel:x:97:
 nogroup:x:99:
 users:x:999:
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12104 - trunk/BOOK/chapter08

2021-01-27 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Jan 27 21:14:11 2021
New Revision: 12104

Log:
systemd: use video group for /dev/dri/render*, to be consistent with eudev

Modified:
   trunk/BOOK/chapter08/systemd.xml

Modified: trunk/BOOK/chapter08/systemd.xml
==
--- trunk/BOOK/chapter08/systemd.xmlWed Jan 27 21:10:13 2021(r12103)
+++ trunk/BOOK/chapter08/systemd.xmlWed Jan 27 21:14:11 2021(r12104)
@@ -66,7 +66,7 @@
 render, from the default udev
 rules:
 
-sed -i 's/GROUP="render", //' 
rules.d/50-udev-default.rules.in
+sed -i 's/GROUP="render"/GROUP="video"/' 
rules.d/50-udev-default.rules.in
 
 Prepare systemd for compilation:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12102 - trunk/BOOK/chapter08

2021-01-26 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Jan 26 20:43:14 2021
New Revision: 12102

Log:
libcap: make the installation like other packages

Modified:
   trunk/BOOK/chapter08/libcap.xml

Modified: trunk/BOOK/chapter08/libcap.xml
==
--- trunk/BOOK/chapter08/libcap.xml Sat Jan 23 08:45:42 2021(r12101)
+++ trunk/BOOK/chapter08/libcap.xml Tue Jan 26 20:43:14 2021(r12102)
@@ -49,7 +49,7 @@
 
 Compile the package:
 
-make lib=lib
+make prefix=/usr lib=lib
 
 
   The meaning of the make option:
@@ -58,8 +58,8 @@
 lib=lib
 
   This parameter sets the library directory to
-  /lib rather than
-  /lib64 on x86_64. It has no effect on
+  /usr/lib rather than
+  /usr/lib64 on x86_64. It has no effect on
   x86.
 
   
@@ -69,13 +69,14 @@
 
 make test
 
-Install the package and do some cleanup:
+Install the package and make sure the essential libraries are in
+the correct directory:
 
-make lib=lib 
PKGCONFIGDIR=/usr/lib/pkgconfig install
+make prefix=/usr lib=lib install
 for libname in cap psx; do
-chmod -v 755 /lib/lib${libname}.so.
-rm -v /lib/lib${libname}.so
+mv -v /usr/lib/lib${libname}.so.* /lib
 ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
+chmod -v 755 /lib/lib${libname}.so.
 done
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12113 - trunk/BOOK/chapter06

2021-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  2 17:34:19 2021
New Revision: 12113

Log:
ch06/binutils: remove duplicated command

Modified:
   trunk/BOOK/chapter06/binutils-pass2.xml

Modified: trunk/BOOK/chapter06/binutils-pass2.xml
==
--- trunk/BOOK/chapter06/binutils-pass2.xml Tue Feb  2 13:35:59 2021
(r12112)
+++ trunk/BOOK/chapter06/binutils-pass2.xml Tue Feb  2 17:34:19 2021
(r12113)
@@ -85,19 +85,14 @@
 
 make
 
-Install the package:
+Install the package, and
+workaround an issue causing
+libctf.so
+to link against zlib from the host distribution:
 
 make DESTDIR=$LFS install
 install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib
 
-
-  Workaround an issue causing
-  libctf.so
-  to link against zlib from the host distribution:
-
-
-install -vm755 libctf/.libs/libctf.so.0.0.0 
$LFS/usr/lib
-
   
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12114 - trunk/BOOK

2021-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  2 17:34:53 2021
New Revision: 12114

Log:
systemd: fix versiond

Modified:
   trunk/BOOK/general.ent

Modified: trunk/BOOK/general.ent
==
--- trunk/BOOK/general.ent  Tue Feb  2 17:34:19 2021(r12113)
+++ trunk/BOOK/general.ent  Tue Feb  2 17:34:53 2021(r12114)
@@ -3,7 +3,7 @@
   Change to x.y for release but not -rc 
releases -->
  
 
-
+
 
  
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12115 - trunk/BOOK/chapter01

2021-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  2 18:52:42 2021
New Revision: 12115

Log:
changelog: edit pierre's changes to be more clear

Modified:
   trunk/BOOK/chapter01/changelog.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==
--- trunk/BOOK/chapter01/changelog.xml  Tue Feb  2 17:34:53 2021(r12114)
+++ trunk/BOOK/chapter01/changelog.xml  Tue Feb  2 18:52:42 2021(r12115)
@@ -51,10 +51,14 @@
   glibc.
 
 
-  [pierre] - Tweaks to allow building with glibc-2.33:
-  build a "file" executable for the host before cross-compiling
-  it; replace the relinked libctf with the one that was linked
-  during "make" in binutils-pass2.
+  [pierre] - To allow building with newer version of glibc
+  than the host distribution, build a "file" executable for the
+  host before cross-compiling it.
+
+
+  [pierre] - Replace the relinked libctf (which may incorrectly
+  link against libz from the host distribution) with the one that
+  was linked during "make" in binutils-pass2.
 
 
   [bdubbs] - Update to bc-3.2.6. Fixes
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12116 - trunk/BOOK/chapter08

2021-02-02 Thread xry111--- via lfs-book
Author: xry111
Date: Tue Feb  2 19:00:59 2021
New Revision: 12116

Log:
ch08/gcc: /usr/lib/bfd-plugins is already created by binutils

Modified:
   trunk/BOOK/chapter08/gcc.xml

Modified: trunk/BOOK/chapter08/gcc.xml
==
--- trunk/BOOK/chapter08/gcc.xmlTue Feb  2 18:52:42 2021(r12115)
+++ trunk/BOOK/chapter08/gcc.xmlTue Feb  2 19:00:59 2021(r12116)
@@ -174,8 +174,7 @@
 Add a compatibility symlink to enable building programs with
 Link Time Optimization (LTO): 
 
-install -v -dm755 /usr/lib/bfd-plugins
-ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)//liblto_plugin.so \
+ln -sfv ../../libexec/gcc/$(gcc 
-dumpmachine)//liblto_plugin.so \
 /usr/lib/bfd-plugins/
 
 Now that our final toolchain is in place, it is important to again 
ensure
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12122 - trunk/BOOK/chapter08

2021-02-03 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Feb  3 01:25:21 2021
New Revision: 12122

Log:
remove unneeded static libraries

Modified:
   trunk/BOOK/chapter08/binutils.xml
   trunk/BOOK/chapter08/bzip2.xml
   trunk/BOOK/chapter08/e2fsprogs.xml
   trunk/BOOK/chapter08/flex.xml
   trunk/BOOK/chapter08/libtool.xml
   trunk/BOOK/chapter08/ncurses.xml
   trunk/BOOK/chapter08/revisedchroot.xml
   trunk/BOOK/chapter08/zlib.xml

Modified: trunk/BOOK/chapter08/binutils.xml
==
--- trunk/BOOK/chapter08/binutils.xml   Wed Feb  3 01:03:51 2021(r12121)
+++ trunk/BOOK/chapter08/binutils.xml   Wed Feb  3 01:25:21 2021(r12122)
@@ -163,6 +163,10 @@
 
 make tooldir=/usr 
install
 
+Remove useless static libraries:
+
+rm -fv 
/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a
+
   
 
   
@@ -176,7 +180,7 @@
   
 addr2line, ar, as, c++filt, dwp, elfedit, gprof, ld, ld.bfd, 
ld.gold, nm,
 objcopy, objdump, ranlib, readelf, size, strings, and strip
-libbfd.{a,so}, libctf.{a,so}, libctf-nobfd.{a,so}, and 
libopcodes.{a,so}
+libbfd.so, libctf.so, libctf-nobfd.so, and libopcodes.so
 /usr/lib/ldscripts
   
 

Modified: trunk/BOOK/chapter08/bzip2.xml
==
--- trunk/BOOK/chapter08/bzip2.xml  Wed Feb  3 01:03:51 2021(r12121)
+++ trunk/BOOK/chapter08/bzip2.xml  Wed Feb  3 01:25:21 2021(r12122)
@@ -95,6 +95,10 @@
 ln -sv bzip2 /bin/bunzip2
 ln -sv bzip2 /bin/bzcat
 
+Remove an useless static library:
+
+rm -fv /usr/lib/libz.a
+
   
 
   
@@ -109,7 +113,7 @@
 bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp (link to
 bzdiff), bzdiff, bzegrep (link to bzgrep), bzfgrep (link to bzgrep),
 bzgrep, bzip2, bzip2recover, bzless (link to bzmore), and bzmore
-libbz2.{a,so}
+libbz2.so
 /usr/share/doc/bzip2-
   
 

Modified: trunk/BOOK/chapter08/e2fsprogs.xml
==
--- trunk/BOOK/chapter08/e2fsprogs.xml  Wed Feb  3 01:03:51 2021(r12121)
+++ trunk/BOOK/chapter08/e2fsprogs.xml  Wed Feb  3 01:25:21 2021(r12122)
@@ -122,10 +122,9 @@
 
 make install
 
-Make the installed static libraries writable so debugging symbols can
-be removed later:
+Remove useless static libraries:
 
-chmod -v u+w 
/usr/lib/{libcom_err,libe2p,libext2fs,libss}.a
+rm -fv 
/usr/lib/{libcom_err,libe2p,libext2fs,libss}.a
 
 This package installs a gzipped
 .info file but doesn't update the

Modified: trunk/BOOK/chapter08/flex.xml
==
--- trunk/BOOK/chapter08/flex.xml   Wed Feb  3 01:03:51 2021(r12121)
+++ trunk/BOOK/chapter08/flex.xml   Wed Feb  3 01:25:21 2021(r12122)
@@ -53,8 +53,9 @@
 
 Prepare Flex for compilation:
 
-
-./configure --prefix=/usr 
--docdir=/usr/share/doc/flex-
+./configure --prefix=/usr \
+--docdir=/usr/share/doc/flex- \
+--disable-static
 
 Compile the package:
 

Modified: trunk/BOOK/chapter08/libtool.xml
==
--- trunk/BOOK/chapter08/libtool.xmlWed Feb  3 01:03:51 2021(r12121)
+++ trunk/BOOK/chapter08/libtool.xmlWed Feb  3 01:25:21 2021(r12122)
@@ -68,6 +68,13 @@
 
 make install
 
+
+
+Remove an useless static library:
+
+rm -fv 
/usr/lib/libltdl.a
+
   
 
 

Modified: trunk/BOOK/chapter08/ncurses.xml
==
--- trunk/BOOK/chapter08/ncurses.xmlWed Feb  3 01:03:51 2021(r12121)
+++ trunk/BOOK/chapter08/ncurses.xmlWed Feb  3 01:25:21 2021(r12122)
@@ -41,10 +41,6 @@
   
 Installation of Ncurses
 
-Don't install a static library that is not handled by 
configure:
-
-sed -i '/LIBTOOL_INSTALL/d' 
c++/Makefile.in
-
 Prepare Ncurses for compilation:
 
 ./configure --prefix=/usr   \
@@ -133,6 +129,10 @@
 echo "INPUT(-lncursesw)"  /usr/lib/libcursesw.so
 ln -sfv libncurses.so  /usr/lib/libcurses.so
 
+Remove a static library that is not handled by configure:
+
+rm -fv 
/usr/lib/libncurses++w.a
+
 If desired, install the Ncurses documentation:
 
 mkdir -v   
/usr/share/doc/ncurses-
@@ -188,7 +188,6 @@
libformw.so, 
libmenuw.so, 
libncursesw.so,
-   libncurses++w.a,
libpanelw.so, and their non-wide-character counterparts without "w"
   in the library names.
 

Modified: trunk/BOOK/chapter08/revisedchroot.xml
==
--- trunk/BOOK/chapter08/revisedchroot.xml  Wed Feb  3 01:03:51 2021
(r12121)
+++ trunk/BOOK/chapter08/revisedchroot.xml  Wed Feb  3 01:25:21 2021

[lfs-book] r12120 - trunk/BOOK/chapter08

2021-02-03 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Feb  3 01:02:40 2021
New Revision: 12120

Log:
ch08/coreutils: correct an explanation

Modified:
   trunk/BOOK/chapter08/coreutils.xml

Modified: trunk/BOOK/chapter08/coreutils.xml
==
--- trunk/BOOK/chapter08/coreutils.xml  Wed Feb  3 01:01:27 2021(r12119)
+++ trunk/BOOK/chapter08/coreutils.xml  Wed Feb  3 01:02:40 2021(r12120)
@@ -77,9 +77,9 @@
   
 autoreconf
 
-  This command updates generated configuration files 
-  consistent with the latest version of automake.
-  
+  The patch for internationalization has modified the
+  building system of the package, so the configuration files have
+  to be regenerated.
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12121 - in trunk/BOOK: chapter07 chapter08

2021-02-03 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Feb  3 01:03:51 2021
New Revision: 12121

Log:
ch{07,08}/util-linux: remove redundant command

Modified:
   trunk/BOOK/chapter07/util-linux.xml
   trunk/BOOK/chapter08/util-linux.xml

Modified: trunk/BOOK/chapter07/util-linux.xml
==
--- trunk/BOOK/chapter07/util-linux.xml Wed Feb  3 01:02:40 2021(r12120)
+++ trunk/BOOK/chapter07/util-linux.xml Wed Feb  3 01:03:51 2021(r12121)
@@ -41,8 +41,11 @@
   
 Installation of Util-linux
 
-First create a directory
-to enable storage for the hwclock program:
+The FHS recommends using the /var/lib/hwclock directory instead of the
+usual /etc directory as the
+location for the adjtime file. Create this directory
+with:
 
 mkdir -pv /var/lib/hwclock
 

Modified: trunk/BOOK/chapter08/util-linux.xml
==
--- trunk/BOOK/chapter08/util-linux.xml Wed Feb  3 01:02:40 2021(r12120)
+++ trunk/BOOK/chapter08/util-linux.xml Wed Feb  3 01:03:51 2021(r12121)
@@ -42,14 +42,6 @@
   
 Installation of Util-linux
 
-The FHS recommends using the /var/lib/hwclock directory instead of the
-usual /etc directory as the
-location for the adjtime file. Create this directory
-with:
-
-mkdir -pv /var/lib/hwclock
-
 Prepare Util-linux for compilation:
 
 ./configure 
ADJTIME_PATH=/var/lib/hwclock/adjtime   \
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12119 - trunk/BOOK/chapter08

2021-02-03 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Feb  3 01:01:27 2021
New Revision: 12119

Log:
ch08/python: remove unneeded commands

Modified:
   trunk/BOOK/chapter08/python.xml

Modified: trunk/BOOK/chapter08/python.xml
==
--- trunk/BOOK/chapter08/python.xml Wed Feb  3 00:02:01 2021(r12118)
+++ trunk/BOOK/chapter08/python.xml Wed Feb  3 01:01:27 2021(r12119)
@@ -94,23 +94,7 @@
 
 Install the package:
 
-make install
-chmod -v 755 /usr/lib/libpython.so
-chmod -v 755 /usr/lib/libpython3.so
-ln -sfv pip /usr/bin/pip3
-
-
-  The meaning of the install commands:
-
-
-  chmod -v 755 
/usr/lib/libpython{,3}.so
-  
-Fix permissions for libraries to be consistent with other
-libraries.
-  
-
-
-
+make install
 
 If desired, install the preformatted documentation:
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12123 - trunk/BOOK/chapter08

2021-02-03 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Feb  3 02:29:23 2021
New Revision: 12123

Log:
ch08/bzip2: typo

Modified:
   trunk/BOOK/chapter08/bzip2.xml

Modified: trunk/BOOK/chapter08/bzip2.xml
==
--- trunk/BOOK/chapter08/bzip2.xml  Wed Feb  3 01:25:21 2021(r12122)
+++ trunk/BOOK/chapter08/bzip2.xml  Wed Feb  3 02:29:23 2021(r12123)
@@ -97,7 +97,7 @@
 
 Remove an useless static library:
 
-rm -fv /usr/lib/libz.a
+rm -fv 
/usr/lib/libbz2.a
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12128 - trunk/BOOK/chapter08

2021-02-04 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Feb  4 22:51:37 2021
New Revision: 12128

Log:
ch08/systemd: sync with BLFS

Modified:
   trunk/BOOK/chapter08/systemd.xml

Modified: trunk/BOOK/chapter08/systemd.xml
==
--- trunk/BOOK/chapter08/systemd.xmlThu Feb  4 13:32:58 2021(r12127)
+++ trunk/BOOK/chapter08/systemd.xmlThu Feb  4 22:51:37 2021(r12128)
@@ -212,6 +212,10 @@
 
 rm -f /usr/bin/xsltproc
 
+Remove an useless directory:
+
+rm -rf /usr/lib/pam.d
+
 Create the /etc/machine-id file needed by
 systemd-journald:
 
@@ -228,10 +232,14 @@
  
 systemctl disable 
systemd-time-wait-sync.service
 
+
+
 
   
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12129 - trunk/BOOK/chapter08

2021-02-04 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Feb  4 23:22:20 2021
New Revision: 12129

Log:
ch08/dbus: sync with BLFS

Modified:
   trunk/BOOK/chapter08/dbus.xml

Modified: trunk/BOOK/chapter08/dbus.xml
==
--- trunk/BOOK/chapter08/dbus.xml   Thu Feb  4 22:51:37 2021(r12128)
+++ trunk/BOOK/chapter08/dbus.xml   Thu Feb  4 23:22:20 2021(r12129)
@@ -48,14 +48,16 @@
 
 Prepare D-Bus for compilation:
 
-./configure --prefix=/usr 
  \
---sysconfdir=/etc   \
---localstatedir=/var\
---disable-static\
---disable-doxygen-docs  \
---disable-xml-docs  \
+./configure --prefix=/usr 
   \
+--sysconfdir=/etc\
+--localstatedir=/var \
+--disable-static \
+--disable-doxygen-docs   \
+--disable-xml-docs   \
 --docdir=/usr/share/doc/dbus- \
---with-console-auth-dir=/run/console
+--with-console-auth-dir=/run/console \
+--with-system-pid-file=/run/dbus/pid \
+
--with-system-socket=/run/dbus/system_bus_socket
 
 
   The meaning of the configure options:
@@ -68,6 +70,18 @@
 
   
 
+  
+
+  --with-system-pid-file=/run/dbus/pid and
+  
--with-system-socket=/run/dbus/system_bus_socket
+
+
+  These set the location of the PID file and the system bus 
socket
+  to be in /run, instead of
+  deprecated /var/run.
+
+  
+
 
 
 Compile the package:
@@ -96,11 +110,6 @@
 
 ln -sfv /etc/machine-id 
/var/lib/dbus
 
-Move the socket file to /run instead of the deprecated
-/var/run:
-
- sed -i 's:/var/run:/run:' 
/lib/systemd/system/dbus.socket
-
   
 
   
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12125 - trunk/BOOK/chapter06

2021-02-04 Thread xry111--- via lfs-book
Author: xry111
Date: Thu Feb  4 07:34:31 2021
New Revision: 12125

Log:
ch06/file: disable host libraries to prevent FTBFS

Modified:
   trunk/BOOK/chapter06/file.xml

Modified: trunk/BOOK/chapter06/file.xml
==
--- trunk/BOOK/chapter06/file.xml   Wed Feb  3 02:53:51 2021(r12124)
+++ trunk/BOOK/chapter06/file.xml   Thu Feb  4 07:34:31 2021(r12125)
@@ -51,10 +51,28 @@
 
 mkdir build
 pushd build
-  ../configure
+  ../configure --disable-bzlib  \ 
+   --disable-libseccomp \
+   --disable-xzlib  \
+   --disable-zlib
   make
 popd
 
+
+  The meaning of the new configure option:
+
+  
+--disable-*
+
+  The configuration script attempt to use some packages from
+  the host distribution if the corresponding library files exist.
+  It may cause compilation failure if a library file exists, but
+  the corresponding header files do not exist.  The options prevent
+  to use the packages from the host.
+
+  
+
+
 Prepare File for compilation:
 
 ./configure --prefix=/usr --host=$LFS_TGT 
--build=$(./config.guess)
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12168 - trunk/BOOK/chapter05

2021-03-24 Thread xry111--- via lfs-book
Author: xry111
Date: Wed Mar 24 07:18:25 2021
New Revision: 12168

Log:
restore a note about ln command from LFS 9.x

Modified:
   trunk/BOOK/chapter05/glibc.xml

Modified: trunk/BOOK/chapter05/glibc.xml
==
--- trunk/BOOK/chapter05/glibc.xml  Mon Mar 22 01:08:13 2021(r12167)
+++ trunk/BOOK/chapter05/glibc.xml  Wed Mar 24 07:18:25 2021(r12168)
@@ -55,6 +55,15 @@
 ;;
 esac
 
+
+  
+The above command is correct.  The ln command has
+a few syntactic versions, so be sure to check
+   info coreutils ln and 
ln(1)
+   before reporting what you may think is an error.
+ 
+
+
 Some of the Glibc programs use the non-FHS compliant
 /var/db directory to store their
 runtime data. Apply the following patch to make such programs store their
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[lfs-book] r12174 - in trunk/BOOK: . appendices chapter06 chapter08

2021-03-28 Thread xry111--- via lfs-book
Author: xry111
Date: Sun Mar 28 08:11:25 2021
New Revision: 12174

Log:
file: secure the URL, add libseccomp as external dep, and move libmagic.so to 
/lib

/bin/more links to libmagic.so (found on gimli and rivendell with a script)

Modified:
   trunk/BOOK/appendices/dependencies.xml
   trunk/BOOK/chapter06/file.xml
   trunk/BOOK/chapter08/file.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/appendices/dependencies.xml
==
--- trunk/BOOK/appendices/dependencies.xml  Sat Mar 27 10:27:35 2021
(r12173)
+++ trunk/BOOK/appendices/dependencies.xml  Sun Mar 28 08:11:25 2021
(r12174)
@@ -718,7 +718,9 @@
 
 
 
-  None
+  
+Libseccomp
+  
 
   
 

Modified: trunk/BOOK/chapter06/file.xml
==
--- trunk/BOOK/chapter06/file.xml   Sat Mar 27 10:27:35 2021(r12173)
+++ trunk/BOOK/chapter06/file.xml   Sun Mar 28 08:11:25 2021(r12174)
@@ -90,6 +90,12 @@
 
 make DESTDIR=$LFS 
install
 
+Move a shared library into its final location in the LFS system,
+and recreate the symlink for it:
+
+mv -v $LFS/usr/lib/libmagic.so.* $LFS/lib
+ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) 
$LFS/usr/lib/libmagic.so
+
   
 
   

Modified: trunk/BOOK/chapter08/file.xml
==
--- trunk/BOOK/chapter08/file.xml   Sat Mar 27 10:27:35 2021(r12173)
+++ trunk/BOOK/chapter08/file.xml   Sun Mar 28 08:11:25 2021(r12174)
@@ -57,6 +57,16 @@
 
 make install
 
+/bin/more from util-linux will link to
+libmagic.so, so the shared
+library should be moved to /lib,
+and as a result the
+.so file in
+/usr/lib will need to be 
recreated:
+
+mv -v /usr/lib/libmagic.so.* /lib
+ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) 
/usr/lib/libmagic.so
+
   
 
 

Modified: trunk/BOOK/packages.ent
==
--- trunk/BOOK/packages.ent Sat Mar 27 10:27:35 2021(r12173)
+++ trunk/BOOK/packages.ent Sun Mar 28 08:11:25 2021(r12174)
@@ -181,7 +181,7 @@
 
 
 
-http://ftp.astron.com/pub/file/file-.tar.gz;>
+https://astron.com/pub/file/file-.tar.gz;>
 
 https://www.darwinsys.com/file/;>
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


  1   2   >