From d7a942197e713339d4dc1eedab4dafd4179a5cd8 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Tue, 11 May 2021 23:24:11 -0500 Subject: 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! --- chapter04/creatingminlayout.xml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'chapter04/creatingminlayout.xml') diff --git a/chapter04/creatingminlayout.xml b/chapter04/creatingminlayout.xml index 749ce84fa..50c431324 100644 --- a/chapter04/creatingminlayout.xml +++ b/chapter04/creatingminlayout.xml @@ -20,11 +20,25 @@ Create the required directory layout by running the following as root: -mkdir -pv $LFS/{bin,etc,lib,sbin,usr,var} +mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin} + +for i in bin lib sbin; do + ln -sv usr/$i $LFS/$i +done + case $(uname -m) in x86_64) mkdir -pv $LFS/lib64 ;; 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. + + + Programs in will be compiled with a cross-compiler (more details in section ). In order to separate this -- cgit v1.2.3-54-g00ecf