Changeset d7a9421 for chapter06


Ignore:
Timestamp:
05/12/2021 04:24:11 AM (3 years ago)
Author:
Douglas R. Reno <renodr@…>
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
Message:

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!

Location:
chapter06
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r0f7d4cb rd7a9421  
    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

    r0f7d4cb rd7a9421  
    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

    r0f7d4cb rd7a9421  
    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

    r0f7d4cb rd7a9421  
    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

    r0f7d4cb rd7a9421  
    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

    r0f7d4cb rd7a9421  
    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

    r0f7d4cb rd7a9421  
    149149    </variablelist>
    150150
    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>
    161 
    162 
    163151  </sect2>
    164152
  • chapter06/sed.xml

    r0f7d4cb rd7a9421  
    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

    r0f7d4cb rd7a9421  
    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

    r0f7d4cb rd7a9421  
    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.