aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
Commit message (Collapse)AuthorAgeFilesLines
* texinfo: remove unneeded sedXi Ruoyao2022-07-021-5/+0
| | | | | | | | | | | | | | | | | | | | 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)
* revise the note about "already created" directoriesXi Ruoyao2022-05-301-4/+4
| | | | | | | | | | 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>
* GID 5 (for tty) is also specialXi Ruoyao2022-05-021-3/+8
|
* minor fix for 65534 explanation: it is also used for "unmapped" groupsXi Ruoyao2022-05-021-3/+3
|
* make /etc/group sorted by GIDXi Ruoyao2022-05-021-4/+4
|
* explain the usage of 65534Xi Ruoyao2022-05-021-0/+9
|
* Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunkBruce Dubbs2022-04-302-3/+3
|\
| * decorate the references to root and lfs userXi Ruoyao2022-04-212-3/+3
| | | | | | | | | | The references already correctly decorated are not changed because "if it's not broken don't fix it".
* | Package updates and nobody uid change.Bruce Dubbs2022-04-301-4/+4
|/ | | | | | | | | | | | | | 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.
* SpelingBruce Dubbs2022-03-242-2/+2
|
* Fix pdf presentation issues and some misc issuesBruce Dubbs2022-03-141-1/+1
| | | | | | | | | | 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.
* kernfs: "Udev" -> "the kernel and Udev"Xi Ruoyao2022-03-081-1/+2
| | | | | devtmpfs already contains many device nodes created by the kernel once it's mounted, and Udev creates or renames nodes based on kernel work.
* kernfs: remove static node creation, and update the textXi Ruoyao2022-03-081-32/+13
| | | | | | | | | | | | | | | | | | 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.
* fix GCC PR100017 and enable libstdc++ for pass 2Xi Ruoyao2022-02-272-121/+0
| | | | | | | | | 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.
* Spelling/TyposBruce Dubbs2022-02-181-1/+1
|
* Fix typos in glibc and for systemd-oom group syntaxBruce Dubbs2022-02-151-1/+1
|
* systemd: remove unneeded group "systemd-bus-proxy"Xi Ruoyao2022-02-051-1/+0
|
* remove "+h" in bash commands in chroot (#4998)Xi Ruoyao2022-02-052-13/+3
| | | | | | | | | | | | | | | 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.
* Minor tweaks to systemdDouglas R. Reno2022-02-041-1/+0
|
* Add a note telling to reenter chroot after making a backupPierre Labastie2022-01-091-0/+7
|
* Revert the change /bin/bash->/usr/bin/bashPierre Labastie2021-11-021-3/+3
| | | | We are not sure what the interaction with /etc/shells is...
* Package updatesBruce Dubbs2021-10-311-23/+23
| | | | | | | | | | | | | | 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.
* Remove eol spaces not caught by mergePierre Labastie2021-09-221-3/+3
|
* Remove all versiond entitiesPierre Labastie2021-09-221-10/+3
|
* Remove merge conflicts marks in chapter07/cleanup.xmlPierre Labastie2021-09-071-22/+0
|
* Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunkPierre Labastie2021-09-073-32/+55
|\
| * Update text in Chapter 7 Backup/Restore sectionsBruce Dubbs2021-09-061-34/+42
| | | | | | | | | | Patch by Kevin Buckley. Also made minor clarification to umount commands.
| * Minor text changesBruce Dubbs2021-09-031-5/+4
| |
| * temp texinfo: remove outdated note about TestXS_la-TestXS.loXi Ruoyao2021-08-271-6/+0
| |
| * chapter07: tcl/expect/dejagnu are now in chapter08Xi Ruoyao2021-08-251-2/+2
| |
* | Remove spaces at end o lines - chapter07Pierre Labastie2021-09-074-27/+27
|/
* Typo (double "the") Spotted by Rainer FiebigPierre Labastie2021-08-211-1/+1
|
* Touch up cleanup commands in Chapter 8Bruce Dubbs2021-08-121-2/+2
| | | | | We moved the rm /tools from Chapter 8 to Chapter 7. Some minor wording changes and file renaming.
* Rework cleaning up section of Chapter 7Bruce Dubbs2021-08-123-200/+179
| | | | | | | | | | | | | | | | 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.
* Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunkBruce Dubbs2021-08-031-1/+1
|\
| * fix temp hosts fileXi Ruoyao2021-08-041-1/+1
| | | | | | | | I think it may be related to Python 3 tests hang (?)
* | WordingBruce Dubbs2021-08-031-0/+6
| |
* | Clarify chapter 7 stripping and backupBruce Dubbs2021-08-031-25/+29
|/ | | | | | | 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.
* Package updates.Bruce Dubbs2021-08-021-0/+5
| | | | | | Update to glibc-2.34. Update to diffutils-3.8. Update to libcap-2.52.
* Clarify remounting after exiting chrootBruce Dubbs2021-07-281-2/+4
|
* don't use host tool for strippingXi Ruoyao2021-07-281-3/+3
|
* always use --strip-unneeded for strippingXi Ruoyao2021-07-281-6/+1
| | | | | | | 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.
* temp python: add a note about (not so) "fatal" errorsXi Ruoyao2021-07-281-0/+13
|
* do not use UID hack for testerXi Ruoyao2021-07-181-1/+1
| | | | | 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.
* fix user and group name for systemd-oomdXi Ruoyao2021-05-181-2/+2
|
* Merge Xi's changes into trunkDouglas R. Reno2021-05-114-2/+16
| | | | | | | | | | | | | 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!
* Add ipv6 localhost in Chapter 7 hosts fileBruce Dubbs2021-04-291-1/+4
|
* ch{07,08}/util-linux: remove redundant commandXi Ruoyao2021-02-031-2/+5
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12121 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* /etc/{passwd,group}: add uuidd user and groupXi Ruoyao2021-01-281-0/+4
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12103 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* use /run for runtime state directoriesXi Ruoyao2021-01-132-3/+13
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689