lfs/chapter07
Xi Ruoyao 01247ac90a
kernfs: Revise command creating the link target in case /dev/shm is a symlink
When /dev/shm is a symlink we need to create its target or some tests
will fail and Python 3 will be misconfigured.  We wrote it as:

    mkdir -pv $LFS/$(readlink $LFS/dev/shm)

But if $LFS/dev/shm is a relative symlink (say ../run/shm), we end up:

    mkdir -pv /mnt/lfs/../run/shm

This command will create /mnt/run/shm, not $LFS/mnt/shm as we expected.
Twist it a little to make it work for both absolute symlinks and
relative symlinks.
2023-11-20 07:23:36 +08:00
..
bison.xml Rename package entities to be independent of chapter numbering 2020-06-11 12:55:28 +00:00
changingowner.xml minor rewords in the beginning of chap 7 2020-06-20 07:26:14 +00:00
chapter07.xml fix GCC PR100017 and enable libstdc++ for pass 2 2022-02-27 23:36:55 +08:00
chroot.xml Typo fix 2023-11-15 15:25:51 -06:00
cleanup.xml Corrected grammar, spelling, and idiom in chapter 7. 2022-11-16 13:16:35 -06:00
createfiles.xml createfiles: Remove doubled punctuation 2023-10-02 11:44:21 +08:00
creatingdirs.xml Edited Pierre's recent additons,to improve English idiom. Also corrected 2022-11-26 12:26:21 -06:00
gettext.xml Rename package entities to be independent of chapter numbering 2020-06-11 12:55:28 +00:00
introduction.xml kernfs: technically, they are not needed for chroot 2022-10-01 13:35:59 +08:00
kernfs.xml kernfs: Revise command creating the link target in case /dev/shm is a symlink 2023-11-20 07:23:36 +08:00
perl.xml perl: Move some explanations from Chapter 8 to Chapter 7 2023-09-09 14:46:02 +08:00
python.xml temp python: add a note about (not so) "fatal" errors 2021-07-28 12:08:52 +08:00
texinfo.xml texinfo: remove unneeded sed 2022-07-02 11:31:13 +08:00
util-linux.xml Package updates. 2023-05-18 13:36:37 -05:00