- Timestamp:
- 05/12/2021 04:24:11 AM (3 years ago)
- Branches:
- 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 5ed37b3, c034573, df462a9
- Parents:
- 0f7d4cb
- Location:
- chapter04
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/addinguser.xml
r0f7d4cb rd7a9421 81 81 <systemitem class="username">lfs</systemitem> the directory owner:</para> 82 82 83 <screen><userinput>chown -v lfs $LFS/{usr ,lib,var,etc,bin,sbin,tools}83 <screen><userinput>chown -v lfs $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools} 84 84 case $(uname -m) in 85 85 x86_64) chown -v lfs $LFS/lib64 ;; -
chapter04/creatingminlayout.xml
r0f7d4cb rd7a9421 21 21 <systemitem class="username">root</systemitem>:</para> 22 22 23 <screen><userinput>mkdir -pv $LFS/{bin,etc,lib,sbin,usr,var} 23 <screen><userinput>mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin} 24 25 for i in bin lib sbin; do 26 ln -sv usr/$i $LFS/$i 27 done 28 24 29 case $(uname -m) in 25 30 x86_64) mkdir -pv $LFS/lib64 ;; 26 31 esac</userinput></screen> 32 33 <note> 34 <para> 35 The above command is correct. The <command>ln</command> command has 36 a few syntactic versions, so be sure to check 37 <command>info coreutils ln</command> and <filename>ln(1)</filename> 38 before reporting what you may think is an error. 39 </para> 40 </note> 27 41 28 42 <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled
Note:
See TracChangeset
for help on using the changeset viewer.