Changeset 76c3eca in clfs-sysroot for BOOK/final-preps


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/final-preps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.