Changeset 96dda27a


Ignore:
Timestamp:
02/26/2022 03:43:12 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
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)
Message:

cross-ng: chapter 4: stop assuming target to be "uname -m", and...

create /boot in $LFS.

Location:
chapter04
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter04/addinguser.xml

    r40875a9 r96dda27a  
    8181  <systemitem class="username">lfs</systemitem> the directory owner:</para>
    8282
    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>
    8784
    8885  <para>If a separate working directory was created as suggested, give
  • chapter04/creatingminlayout.xml

    r40875a9 r96dda27a  
    2121  <systemitem class="username">root</systemitem>:</para>
    2222
    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}
    2424
    2525for i in bin lib sbin; do
    2626  ln -sv usr/$i $LFS/$i
    27 done
     27done</userinput></screen>
    2828
    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>
    3235
    3336  <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled
Note: See TracChangeset for help on using the changeset viewer.