Changeset 96dda27a
- Timestamp:
- 02/26/2022 03:43:12 PM (22 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- 30ae09bb
- Parents:
- 40875a9
- git-author:
- Xi Ruoyao <xry111@…> (12/17/2021 11:46:57 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (02/26/2022 03:43:12 PM)
- Location:
- chapter04
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/addinguser.xml
r40875a9 r96dda27a 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} 84 case $(uname -m) in 85 x86_64) chown -v lfs $LFS/lib64 ;; 86 esac</userinput></screen> 83 <screen><userinput>chown -v lfs $LFS/{usr{,/*},lib*,boot,var,etc,bin,sbin,tools}</userinput></screen> 87 84 88 85 <para>If a separate working directory was created as suggested, give -
chapter04/creatingminlayout.xml
r40875a9 r96dda27a 21 21 <systemitem class="username">root</systemitem>:</para> 22 22 23 <screen><userinput>mkdir -pv $LFS/{ etc,var} $LFS/usr/{bin,lib,sbin}23 <screen><userinput>mkdir -pv $LFS/{boot,etc,var} $LFS/usr/{bin,lib,sbin} 24 24 25 25 for i in bin lib sbin; do 26 26 ln -sv usr/$i $LFS/$i 27 done 27 done</userinput></screen> 28 28 29 case $(uname -m) in 30 x86_64) mkdir -pv $LFS/lib64 ;; 31 esac</userinput></screen> 29 <para>Some targets (for example, x86_64) needs 30 <filename class="directory">/lib64</filename> directory. If you are 31 building for one of those targets, create it as 32 <systemitem class="username">root</systemitem>:</para> 33 34 <screen><userinput>mkdir -pv $LFS/lib64</userinput></screen> 32 35 33 36 <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled
Note:
See TracChangeset
for help on using the changeset viewer.