mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
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. |
||
---|---|---|
.. | ||
bison.xml | ||
changingowner.xml | ||
chapter07.xml | ||
chroot.xml | ||
cleanup.xml | ||
createfiles.xml | ||
creatingdirs.xml | ||
gettext.xml | ||
introduction.xml | ||
kernfs.xml | ||
perl.xml | ||
python.xml | ||
texinfo.xml | ||
util-linux.xml |