Changeset df462a9 for chapter06


Ignore:
Timestamp:
05/12/2021 05:26:46 AM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
3de7f52
Parents:
0e9fb93 (diff), d7a9421 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge pre-LFS-11-0 changes

Location:
chapter06
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r0e9fb93 rdf462a9  
    7575<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    7676
    77     <para>Move the executable to where it is expected:</para>
    78 
    79 <screen><userinput remap="install">mv $LFS/usr/bin/bash $LFS/bin/bash</userinput></screen>
    80 
    8177    <para>Make a link for the programs that use <command>sh</command> for
    8278    a shell:</para>
  • chapter06/coreutils.xml

    r0e9fb93 rdf462a9  
    8484    programs harcode executable locations:</para>
    8585
    86 <screen><userinput remap="install">mv -v $LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin
    87 mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm}        $LFS/bin
    88 mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname}               $LFS/bin
    89 mv -v $LFS/usr/bin/{head,nice,sleep,touch}                    $LFS/bin
    90 mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin
     86<screen><userinput remap="install">mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin
    9187mkdir -pv $LFS/usr/share/man/man8
    9288mv -v $LFS/usr/share/man/man1/chroot.1                        $LFS/usr/share/man/man8/chroot.8
  • chapter06/file.xml

    r0e9fb93 rdf462a9  
    9191<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    9292
    93     <para>Move a shared library into its final location in the LFS system,
    94     and recreate the symlink for it:</para>
    95 
    96 <screen><userinput remap="install">mv -v $LFS/usr/lib/libmagic.so.* $LFS/lib
    97 ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) $LFS/usr/lib/libmagic.so</userinput></screen>
    98 
    9993  </sect2>
    10094
  • chapter06/findutils.xml

    r0e9fb93 rdf462a9  
    5858<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    5959
    60     <para>Move the executable to its final expected location:</para>
    61 
    62 <screen><userinput remap="install">mv -v $LFS/usr/bin/find $LFS/bin
    63 sed -i 's|find:=${BINDIR}|find:=/bin|' $LFS/usr/bin/updatedb</userinput></screen>
    64 
    6560  </sect2>
    6661
  • chapter06/grep.xml

    r0e9fb93 rdf462a9  
    4747
    4848<screen><userinput remap="configure">./configure --prefix=/usr   \
    49             --host=$LFS_TGT \
    50             --bindir=/bin</userinput></screen>
     49            --host=$LFS_TGT</userinput></screen>
    5150
    5251    <para>Compile the package:</para>
  • chapter06/gzip.xml

    r0e9fb93 rdf462a9  
    5656<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    5757
    58     <para>Move the executable to its final expected location:</para>
    59 
    60 <screen><userinput remap="install">mv -v $LFS/usr/bin/gzip $LFS/bin</userinput></screen>
    61 
    6258  </sect2>
    6359
  • chapter06/ncurses.xml

    r0e9fb93 rdf462a9  
    148148
    149149    </variablelist>
    150 
    151     <para>Move the shared libraries to the
    152     <filename class="directory">/lib</filename> directory, where they are
    153     expected to reside:</para>
    154 
    155 <screen><userinput remap="install">mv -v $LFS/usr/lib/libncursesw.so.6* $LFS/lib</userinput></screen>
    156 
    157     <para>Because the libraries have been moved, one symlink points to
    158     a non-existent file. Recreate it:</para>
    159 
    160 <screen><userinput remap="install">ln -sfv ../../lib/$(readlink $LFS/usr/lib/libncursesw.so) $LFS/usr/lib/libncursesw.so</userinput></screen>
    161150
    162151  </sect2>
  • chapter06/sed.xml

    r0e9fb93 rdf462a9  
    4747
    4848<screen><userinput remap="configure">./configure --prefix=/usr   \
    49             --host=$LFS_TGT \
    50             --bindir=/bin</userinput></screen>
     49            --host=$LFS_TGT</userinput></screen>
    5150
    5251    <para>Compile the package:</para>
  • chapter06/tar.xml

    r0e9fb93 rdf462a9  
    4848<screen><userinput remap="configure">./configure --prefix=/usr                     \
    4949            --host=$LFS_TGT                   \
    50             --build=$(build-aux/config.guess) \
    51             --bindir=/bin</userinput></screen>
     50            --build=$(build-aux/config.guess)</userinput></screen>
    5251
    5352    <para>Compile the package:</para>
  • chapter06/xz.xml

    r0e9fb93 rdf462a9  
    6060<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    6161
    62     <para>Make sure that all essential files are in the correct directory:</para>
    63 
    64 <screen><userinput remap="install">mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat}  $LFS/bin
    65 mv -v $LFS/usr/lib/liblzma.so.*                       $LFS/lib
    66 ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so</userinput></screen>
    67 
    6862  </sect2>
    6963
Note: See TracChangeset for help on using the changeset viewer.