Changeset 76c3eca in clfs-sysroot


Ignore:
Timestamp:
Jan 5, 2009, 12:45:16 AM (15 years ago)
Author:
Chris Staub <chris@…>
Branches:
master
Children:
7400ff8
Parents:
9da6c48
Message:

CLFS sysroot normally uses DESTDIR anyway

Location:
BOOK
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/x86/variables.xml

    r9da6c48 r76c3eca  
    2525  xpointer="xpointer(//*[@os='c'])"/>
    2626
    27 <screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen>
     27<screen os="d"><userinput>export CLFS_TARGET="[target triplet]"</userinput></screen>
     28
     29  <para os="t1">Replace [target triplet] with the appropriate machine triplet
     30  using the table at the bottom of the page.</para>
    2831
    2932  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-preps/aboutclfs.xml

    r9da6c48 r76c3eca  
    66]>
    77
    8 <sect1 id="ch-final-preps-aboutlfs">
    9   <?dbhtml filename="aboutlfs.html"?>
     8<sect1 id="ch-final-preps-aboutclfs">
     9  <?dbhtml filename="aboutclfs.html"?>
    1010
    11   <title>About $CLFS</title>
     11  <title>About ${CLFS}</title>
    1212
    1313  <para>Throughout this book, the environment variable <envar>CLFS</envar> will
     
    2626
    2727  <para>Having this variable set is beneficial in that commands such as
    28   <command>install -d ${CLFS}/tools</command> can be typed literally. The shell
     28  <command>install -dv ${CLFS}/tools</command> can be typed literally. The shell
    2929  will automatically replace <quote>${CLFS}</quote> with
    3030  <quote>/mnt/clfs</quote> (or whatever the variable was set to) when it
  • BOOK/final-preps/addinguser.xml

    r9da6c48 r76c3eca  
    2222
    2323<screen><userinput>groupadd clfs
    24 useradd -s /bin/bash -g clfs -m -k /dev/null clfs</userinput></screen>
     24useradd -s /bin/bash -g clfs -d /home/clfs clfs
     25mkdir -pv /home/clfs
     26chown -v clfs:clfs /home/clfs</userinput></screen>
    2527
    2628  <variablelist>
     
    4042        <para>This option adds user <systemitem class="username">clfs</systemitem>
    4143        to group <systemitem class="groupname">clfs</systemitem>.</para>
    42       </listitem>
    43     </varlistentry>
    44 
    45     <varlistentry>
    46       <term><parameter>-m</parameter></term>
    47       <listitem>
    48         <para>This creates a home directory for <systemitem
    49         class="username">clfs</systemitem>.</para>
    50       </listitem>
    51     </varlistentry>
    52 
    53     <varlistentry>
    54       <term><parameter>-k /dev/null</parameter></term>
    55       <listitem>
    56         <para>This parameter prevents possible copying of files from a skeleton
    57         directory (default is <filename class="directory">/etc/skel</filename>)
    58         by changing the input location to the special null device.</para>
    5944      </listitem>
    6045    </varlistentry>
  • BOOK/final-system/common/iproute2.xml

    r9da6c48 r76c3eca  
    5656
    5757      <varlistentry>
    58         <term><parameter>DESTDIR=/</parameter></term>
    59         <listitem>
    60           <para>This option overrides the default DESTDIR of /usr, so that
    61           that the IPRoute2 binaries will be installed into
    62           <filename class="directory">/sbin</filename>. This is the correct
    63           location according to the FHS, because some of the IPRoute2 binaries
    64           are used by the CLFS-Bootscripts package.</para>
    65         </listitem>
    66       </varlistentry>
    67 
    68       <varlistentry>
    6958        <term><parameter>DOCDIR=/usr/share/doc/iproute2 MANDIR=/usr/share/man</parameter></term>
    7059        <listitem>
    71           <para>The DESTDIR=/ parameter would cause documentation to be
    72           installed into /share/doc and /share/man. These options ensure
    73           the docs are installed to the correct locations.</para>
     60          <para>The DESTDIR=${CLFS} parameter would cause documentation to be
     61          installed into /share/doc and /share/man on the CLFS system.
     62          These options ensure the docs are installed to the correct locations.</para>
    7463        </listitem>
    7564      </varlistentry>
  • BOOK/partitioning/common/creatingfilesystem.xml

    r9da6c48 r76c3eca  
    3131    <para>Some host distributions use custom features in their filesystem
    3232    creation tools (E2fsprogs). This can cause problems when booting into
    33     your new CLFS, as those features will not be supported by the LFS-installed
    34     E2fsprogs; you will get an error similar to <computeroutput>unsupported
    35     filesystem features, upgrade your e2fsprogs</computeroutput>. To check
    36     if your host system uses custom enhancements, run the following
    37     command:</para>
     33    your new CLFS system, as those features will not be supported by the
     34    CLFS-installed E2fsprogs; you will get an error similar to
     35    <computeroutput>unsupported filesystem features, upgrade your
     36    e2fsprogs</computeroutput>. To check if your host system uses custom
     37    enhancements, run the following command:</para>
    3838
    3939<screen os="f"><userinput>debugfs -R feature /dev/<replaceable>[xxx]</replaceable></userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.