Commit Graph

570 Commits

Author SHA1 Message Date
Xi Ruoyao
b5a316b060
texinfo: remove unneeded sed
It works out of box with glibc-2.35.  I think this issue is already
fixed at glibc side, by the commit:

commit 0b5ca7c3e551e5502f3be3b06453324fe8604e82
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Sep 21 07:47:45 2021 -0700

    regex: copy back from Gnulib

    Copy regex-related files back from Gnulib, to fix a problem with
    static checking of regex calls noted by Martin Sebor.  This merges the
    following changes:

    * New macro __attribute_nonnull__ in misc/sys/cdefs.h, for use later
    when copying other files back from Gnulib.

    ... ... (unrelated things trimmed)
2022-07-02 11:31:13 +08:00
Thomas Trepl (Moody)
bdb4c909d5 Automatic merge of trunk into multilib 2022-05-31 05:45:09 +02:00
Xi Ruoyao
9b73f94474
revise the note about "already created" directories
Q: Why not just move the note after the creation of root-level
directories?
A: Root-level directories may be already created as well: if a
root-level directory is a mount point it should have been created in
section "Mounting the New Partition".

Reported-by: Vladimir Pertsev <info@linuxfromscratch.ru>
2022-05-30 18:30:50 +08:00
Thomas Trepl (Moody)
c48cc91c55 Merge upstream 2022-05-06 12:38:26 +02:00
Thomas Trepl (Moody)
481b2e0584 Merge upstream 2022-05-02 14:52:30 +02:00
Xi Ruoyao
7c862eac22
GID 5 (for tty) is also special 2022-05-02 16:02:10 +08:00
Xi Ruoyao
0414633793
minor fix for 65534 explanation: it is also used for "unmapped" groups 2022-05-02 15:42:52 +08:00
Xi Ruoyao
8469f02115
make /etc/group sorted by GID 2022-05-02 15:39:45 +08:00
Xi Ruoyao
14de4552bf
explain the usage of 65534 2022-05-02 15:36:03 +08:00
Bruce Dubbs
8cab730a5b Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-04-30 09:40:46 -05:00
Bruce Dubbs
813ab55675 Package updates and nobody uid change.
Change nobody/nogroup uid/git to 65534.
Update to meson-0.62.1.
Update to libpipeline-1.5.6.
Update to elfutils-0.187.
Update to Jinja2-3.1.2.
Update to vim-8.2.4814.
Update to sysvinit-3.03.
Update to linux-5.17.5.
Update to gcc-11.3.0.
Update to coreutils-9.1.
Update to bc-5.2.4.
2022-04-30 09:38:48 -05:00
Thomas Trepl (Moody)
65ac2fdf48 Automatic merge of trunk into multilib 2022-04-22 05:45:10 +02:00
Xi Ruoyao
e286d8db14
decorate the references to root and lfs user
The references already correctly decorated are not changed because "if
it's not broken don't fix it".
2022-04-21 14:12:43 +08:00
Thomas Trepl (Moody)
051c1608d9 Automatic merge of trunk into multilib 2022-03-25 05:45:09 +01:00
Bruce Dubbs
bcb20b4701 Speling 2022-03-24 12:11:57 -05:00
Thomas Trepl (Moody)
02c702c62e Automatic merge of trunk into multilib 2022-03-17 15:30:05 +01:00
Thomas Trepl (Moody)
d9bec1e96a Automatic merge of trunk into multilib 2022-03-17 15:28:37 +01:00
Bruce Dubbs
51a5442f16 Fix pdf presentation issues and some misc issues
Change pdf generation to use 9 point fonts for monospace
sections of the book.  Otherwise texy overflows, especially
in Chapter 8, Stripping.

Fix a minor spacing issue in the stripping issue.

MAke a minor grammar fix in creatingfiles.xml.
2022-03-14 13:08:40 -05:00
Xi Ruoyao
ac47b252fe
kernfs: "Udev" -> "the kernel and Udev"
devtmpfs already contains many device nodes created by the kernel once
it's mounted, and Udev creates or renames nodes based on kernel work.
2022-03-08 15:10:04 +08:00
Xi Ruoyao
940c8495ae
kernfs: remove static node creation, and update the text
This is to match the "new" way of device handling with devtmpfs (already
widely used in recent ten years).

In a normal booting process, the kernel mounts devtmpfs at very early
stage.  So the static nodes won't be used at all.  The only situation
where the kernel can't mount devtmpfs is "/dev is missing", but it means
those two static nodes can't exist anyway, and a normal LFS system
(without initramfs) won't boot in such a bad situation.

Removing static /dev/console and /dev/null may cause trouble for those
people or scripts chroot into LFS tree without mounting devtmpfs.  But
entering a chroot with only console and null in /dev is already
problematic.  For a reference, If a systemd service is started with
PrivateDevices=true, systemd will create 18 nodes and symlinks to form a
"minimal" /dev.
2022-03-08 01:25:06 +08:00
Xi Ruoyao
459d4936ae
fix GCC PR100017 and enable libstdc++ for pass 2
This is the issue preventing us from cross-compiling libstdc++ in
Chapter 6.  By fixing this issue we can remove a seperate pass 2 for
libstdc++ and simplify the instruction.

The upstream fix will be released in 11.3 and 12.0, so we can remove the
first sed upgrading gcc next time.
2022-02-27 23:36:55 +08:00
Thomas Trepl (Moody)
3b70f926ce Automatic merge of trunk into multilib 2022-02-19 05:45:14 +01:00
Bruce Dubbs
9904ecb1de Spelling/Typos 2022-02-18 14:49:40 -06:00
Thomas Trepl (Moody)
738a4c13cd Automatic merge of trunk into multilib 2022-02-16 05:45:10 +01:00
Bruce Dubbs
8dd179b044 Fix typos in glibc and for systemd-oom group syntax 2022-02-15 13:22:46 -06:00
Thomas Trepl (Moody)
2590473cf0 Automatic merge of trunk into multilib 2022-02-06 05:45:15 +01:00
Xi Ruoyao
0079acc87d
systemd: remove unneeded group "systemd-bus-proxy" 2022-02-05 22:16:25 +08:00
Xi Ruoyao
490dc15317
remove "+h" in bash commands in chroot (#4998)
In the new cross-compilation approach, the $PATH in chroot does not
contain '/tools/bin'.  So "+h" is useless in chroot as the newly
installed tools always replace the temporary counterpart at the same
location.

"+h" in chapter4/settingenviron.xml is kept deliberately.  Currently
$LFS/tools/bin only contains programs prefixed with
"x86_64-lfs-linux-gnu-", and it's highly unlikely that any distro will
ever ship a program named with such prefix.  So it may seems that we can
remove this "+h" as well.  However, the situation may change in future
and we can take this oppertunity to teach the advantage and disvantage
of bash hash feature.
2022-02-05 20:48:27 +08:00
Thomas Trepl (Moody)
3e09569e0d Automatic merge of trunk into multilib 2022-02-05 05:45:10 +01:00
Douglas R. Reno
0a75d62658 Minor tweaks to systemd 2022-02-04 19:54:13 -06:00
Thomas Trepl (Moody)
8598141e17 Automatic merge of trunk into multilib 2022-01-10 05:45:10 +01:00
Pierre Labastie
7fba0753d1 Add a note telling to reenter chroot after making a backup 2022-01-09 19:18:24 +01:00
Thomas Trepl (Moody)
4a74a6fd42 Automatic merge of trunk into multilib 2021-11-03 05:45:09 +01:00
Pierre Labastie
095286b709 Revert the change /bin/bash->/usr/bin/bash
We are not sure what the interaction with /etc/shells is...
2021-11-02 14:23:41 +01:00
Thomas Trepl (Moody)
d352b982d6 Automatic merge of trunk into multilib 2021-11-01 05:45:09 +01:00
Bruce Dubbs
1f201845a3 Package updates
Update to gawk-5.1.1.
Update to meson-0.60.0.
Update to libcap-2.60.
Update to gdbm-1.22.
Update to file-5.41.
Update to linux-5.14.15.
Update to iana-etc-20211025.
Update to tzdata-2021e.

Change /bin to /usr/bin in passwd, and revisedchroot.
Fix systemd for new meson.
2021-10-31 14:00:21 -05:00
Thomas Trepl (Moody)
08a636839d Merge upstream 2021-10-15 12:21:18 +02:00
Pierre Labastie
2198b5efa0 Remove eol spaces not caught by merge 2021-09-22 23:23:06 +02:00
Pierre Labastie
784fdaed25 Remove all versiond entities 2021-09-22 23:17:28 +02:00
Thomas Trepl (Moody)
716db1f765 Merge upstream 2021-09-20 09:37:34 +02:00
Pierre Labastie
9ee05b53be Remove merge conflicts marks in chapter07/cleanup.xml 2021-09-07 23:25:03 +02:00
Pierre Labastie
c6f58f47bd Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-09-07 22:40:16 +02:00
Pierre Labastie
2c8fdfc165 Remove spaces at end o lines - chapter07 2021-09-07 22:35:55 +02:00
Bruce Dubbs
beb80e291d Update text in Chapter 7 Backup/Restore sections
Patch by Kevin Buckley.
Also made minor clarification to umount commands.
2021-09-06 09:32:47 -05:00
Bruce Dubbs
305c97068f Minor text changes 2021-09-03 19:43:45 -05:00
Thomas Trepl (Moody)
8c1731d797 Automatic merge of trunk into multilib 2021-08-27 05:45:11 +02:00
Xi Ruoyao
c92c9ab312
temp texinfo: remove outdated note about TestXS_la-TestXS.lo 2021-08-27 02:55:49 +08:00
Thomas Trepl (Moody)
2bad57f3d8 Automatic merge of trunk into multilib 2021-08-26 05:45:09 +02:00
Xi Ruoyao
efbd8873ac
chapter07: tcl/expect/dejagnu are now in chapter08 2021-08-25 13:13:32 +08:00
Thomas Trepl (Moody)
69d280f4ba Automatic merge of trunk into multilib 2021-08-22 05:45:22 +02:00
Pierre Labastie
b649e6b6d8 Typo (double "the") Spotted by Rainer Fiebig 2021-08-21 08:59:51 +02:00
Thomas Trepl (Moody)
9b90ad1a0f Fix rendering issue 2021-08-13 06:38:29 +02:00
Thomas Trepl (Moody)
85d9695ad8 Merge trunk 2021-08-13 06:33:25 +02:00
Bruce Dubbs
8a269ec27e Touch up cleanup commands in Chapter 8
We moved the rm /tools from Chapter 8 to Chapter 7.
Some minor wording changes and file renaming.
2021-08-12 16:03:35 -05:00
Bruce Dubbs
02b26317cb Rework cleaning up section of Chapter 7
Renamed chapter07/stripping.xml to chapter07/cleanup.xml

Removed stripping from the end of Chapter 7.  We suggest a
10 GB or larger partition in Section 2.4 - Creating a New Partition
and the space used before cleaning up is only 3 GB.  Stripping
would free up about 300 MB more, but these files will soon be
overwritten anyway.

Remove /tools here to save about 1 GB.

General reorginization and rewording.

Chapter 8 stripping still needs to be updated after this change.
2021-08-12 15:33:11 -05:00
Thomas Trepl (Moody)
2dfe1348bd Remove useless comment 2021-08-04 16:37:51 +02:00
Thomas Trepl (Moody)
f5b747c56f Merge trunk 2021-08-04 14:09:24 +02:00
Bruce Dubbs
6a123d054e Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2021-08-03 21:46:44 -05:00
Bruce Dubbs
d04ce158fe Wording 2021-08-03 21:45:54 -05:00
Bruce Dubbs
c649743dd6 Clarify chapter 7 stripping and backup
In chapter 7 we do not need to unmount file systems to strip binaries.
Move unmounting to the backup/restore sections.

Also make sure the stripping commands are valid.
2021-08-03 21:35:39 -05:00
Xi Ruoyao
887b02bd8c
fix temp hosts file
I think it may be related to Python 3 tests hang (?)
2021-08-04 00:12:51 +08:00
Thomas Trepl (Moody)
66bfc2bb56 Automatic merge of trunk into multilib 2021-08-03 05:45:09 +02:00
Bruce Dubbs
9c7598cc15 Package updates.
Update to glibc-2.34.
Update to diffutils-3.8.
Update to libcap-2.52.
2021-08-02 20:52:40 -05:00
Thomas Trepl (Moody)
ad40530f12 Automatic merge of trunk into multilib 2021-07-29 05:45:09 +02:00
Bruce Dubbs
7e4c60ef34 Clarify remounting after exiting chroot 2021-07-28 15:52:27 -05:00
Thomas Trepl (Moody)
00e8b5325a Merge upstream changes 2021-07-28 15:43:47 +02:00
Xi Ruoyao
46e44863c1
don't use host tool for stripping 2021-07-28 18:46:32 +08:00
Xi Ruoyao
08f72423ce
always use --strip-unneeded for stripping
The behavior of --strip-unneeded and --strip-all are same for
executables and shared libraries.  For static libraries,
--strip-unneeded keeps the symbols needed for relocation processing so
it won't break static archives.
2021-07-28 18:46:22 +08:00
Xi Ruoyao
5ab114b712
temp python: add a note about (not so) "fatal" errors 2021-07-28 12:08:52 +08:00
Thomas Trepl (Moody)
118b207b4a Automatic merge of trunk into multilib 2021-07-21 05:48:24 +02:00
Xi Ruoyao
ef61313366
do not use UID hack for tester
It's causing "root-tester namesis" (both have UID 0) if the tty is owned
by root.  To fix bash test, use Expect to spawn a new PTY for it.
2021-07-18 01:04:22 +08:00
Thomas Trepl (Moody)
32f47b1fb5 Merge branch 'trunk' into multilib 2021-05-18 08:17:35 +02:00
Xi Ruoyao
bbea6a3273
fix user and group name for systemd-oomd 2021-05-18 01:02:07 +08:00
Thomas Trepl (Moody)
0ebda11158 Remove entities for multilib pathes
Add usage of libc_cv_rtlddir
2021-05-14 12:47:43 +02:00
Thomas Trepl (Moody)
df462a9511 Merge pre-LFS-11-0 changes 2021-05-12 07:26:46 +02:00
Douglas R. Reno
d7a942197e Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
2021-05-11 23:24:11 -05:00
Thomas Trepl (Moody)
88bdbb7015 Automatic merge of trunk into multilib 2021-04-30 14:01:24 +02:00
Bruce Dubbs
2013a74b0d Add ipv6 localhost in Chapter 7 hosts file 2021-04-29 12:23:59 -05:00
Thomas Trepl
a5c280368e
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12130 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:41 +08:00
Thomas Trepl
edd83dcce1
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12107 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:41 +08:00
Thomas Trepl
d7e0db5ccd
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12034 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
4ea78e038f
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12021 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
032dc4e8e8
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12012 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
25b402cd29
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12003 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
51b58ad4fa
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11997 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
ce2f9d860e
Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
7610848c3a
Wording
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
6dfcfecca3
Update to new lfs structure
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
c7e74d668b
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11783 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:37 +08:00
Thomas Trepl
725ef3bb00
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11747 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:37 +08:00
Thomas Trepl
0aaf6a318a
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11681 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:36 +08:00
Thomas Trepl
d82ab5da44
Merge trunk; Add a note about kernel config to hostreqs.xml
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11584 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:34 +08:00
Thomas Trepl
714599ff52
Apply trunk changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11577 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:34 +08:00
Xi Ruoyao
1f460e53b4 ch{07,08}/util-linux: remove redundant command
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12121 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-03 09:03:51 +00:00
Xi Ruoyao
742c6324e3 /etc/{passwd,group}: add uuidd user and group
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12103 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-01-28 05:10:13 +00:00
Xi Ruoyao
02776dffe1 use /run for runtime state directories
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-01-13 08:44:28 +00:00
Bruce Dubbs
a892a142e5 Change messagebus home directory to /run
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12092 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-01-11 22:31:07 +00:00
Xi Ruoyao
45d8933fde always remove the docs of temporary tools
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12030 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-19 17:17:20 +00:00
Bruce Dubbs
6a06eaf844 Update to man-pages-5.08.
Update to libpipeline-1.5.3. 
Update to iproute2-5.8.0. 
Update to linux-5.8.1. 
Fix typo in settingenviron.xml.
Use entity in perl configuration instructions.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12022 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-15 03:54:28 +00:00
Ken Moffat
9b9db38c2f Change perl to not install modules from LFS and BLFS into /usr/share.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12017 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-10 10:29:25 +00:00