Changeset 24bb7622


Ignore:
Timestamp:
05/26/2002 01:07:46 AM (22 years ago)
Author:
Mark Hymers <markh@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_0, v4_1, v5_0, v5_1, v5_1_1, 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:
a358a47
Parents:
cb4481b
Message:

some fixes related to removal from ch6

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1904 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rcb4481b r24bb7622  
    2727
    2828</para></listitem>
     29
     30<listitem><para>May 25th, 2002 [markh]: Chapter 6 - Some minor
     31corrections dealing with removing the $LFS variable where it isn't
     32wanted.</para></listitem>
    2933
    3034<listitem><para>May 23rd, 2002 [gerard]: Implemented the
  • chapter06/chroot.xml

    rcb4481b r24bb7622  
    2424following commands in this and following chapters are run from within the
    2525chroot'ed environment. If you ever leave this environment for any reason
    26 (when rebooting for example) please remember to mount $LFS/proc
    27 again and re-enter chroot before continuing with the
     26(when rebooting for example) you must remember to enter chroot and mount
     27$LFS/proc again (as will be discussed later) before continuing with the
    2828book.</para>
    2929
  • chapter06/creatingdirs.xml

    rcb4481b r24bb7622  
    2626<para>Normally, directories are created with permission mode 755, which isn't
    2727desired for all directories. The first change is a mode 0750 for the
    28 $LFS/root directory. This is to make sure that not just everybody can
     28/root directory. This is to make sure that not just everybody can
    2929enter the /root directory (the same a user would do with /home/username
    3030directories). The second change is a mode 1777 for the tmp
     
    3333by the so-called "sticky bit" - bit 1 of the 1777 bit mask).</para>
    3434
    35 <para><screen><userinput>cd $LFS &amp;&amp;
     35<para><screen><userinput>cd / &amp;&amp;
    3636chmod 0750 root &amp;&amp;
    3737chmod 1777 tmp var/tmp</userinput></screen></para>
  • chapter06/kernel-exp.xml

    rcb4481b r24bb7622  
    1818class="symlink">include/asm</filename> symlink.</para>
    1919
    20 <para><userinput>mkdir $LFS/usr/include/asm</userinput>
    21 and <userinput>cp include/asm/* $LFS/usr/include/asm</userinput>:
     20<para><userinput>mkdir /usr/include/asm</userinput>
     21and <userinput>cp include/asm/* /usr/include/asm</userinput>:
    2222This copies the platform-specific assembler kernel header files to
    23 <filename>$LFS/usr/include/asm</filename></para>
     23<filename>/usr/include/asm</filename></para>
    2424
    25 <para><userinput>cp -R include/linux $LFS/usr/include</userinput>:
     25<para><userinput>cp -R include/linux /usr/include</userinput>:
    2626This command copies the cross-platform kernel header files to
    27 <filename>$LFS/usr/include</filename></para>
     27<filename>/usr/include</filename></para>
    2828
    29 <para><userinput>touch $LFS/usr/include/linux/autoconf.h</userinput>: Some
     29<para><userinput>touch /usr/include/linux/autoconf.h</userinput>: Some
    3030kernel header files include this <filename>autoconf.h</filename> file, but
    3131outside the Linux source tree, that file has no meaning so we just create
  • chapter06/mountproc.xml

    rcb4481b r24bb7622  
    88file system for that matter) twice or even more than that.</para>
    99
    10 <para>If you're still logged in as user "lfs", you should log out and log
    11 in again as user root. The reason for this is simple: only root is allowed
    12 to mount filesystems and to run chroot.</para>
    13 
    1410<para>The proc file system is mounted under $LFS/proc by running the
    15 following command. We'll also chown it to user root/group root while we're
    16 at it (the rest of the filesystem is chown'ed to root:root in a minute when
    17 we start with chapter 6).</para>
     11following command.  Note that we don't use the $LFS variable because we
     12are now in chroot.</para>
    1813
    1914<para><screen><userinput>mount proc /proc -t proc</userinput></screen></para>
Note: See TracChangeset for help on using the changeset viewer.