Changeset 64b4aba for BOOK


Ignore:
Timestamp:
Apr 18, 2014, 2:42:51 AM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
d0dc087
Parents:
241eded2
Message:

Allow Shadow to be installed entirely in /tools, without DESTDIR

Location:
BOOK/boot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/64/shadow.xml

    r241eded2 r64b4aba  
    3636
    3737<screen os="e"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    38     --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc</userinput></screen>
     38    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3939
    4040    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/common/shadow.xml

    r241eded2 r64b4aba  
    3434
    3535<screen os="e"><userinput>./configure --prefix=/tools \
    36     --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc</userinput></screen>
     36    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3737
    38 <para os="f">The meaning of the configure options:</para>
    39 
    40   <variablelist os="g">
    41     <varlistentry>
    42       <term><parameter>--sysconfdir=/etc</parameter></term>
    43       <listitem><para>Tells Shadow to install its configuration files into
    44       <filename class="directory">/etc</filename>, rather than
    45       <filename class="directory">/tools/etc</filename>.</para></listitem>
    46     </varlistentry>
    47    
    48   </variablelist>
    49 
    50     <para os="h">Tell Shadow to use <command>passwd</command> in
     38    <para os="f">Tell Shadow to use <command>passwd</command> in
    5139    <filename class="directory">/tools/bin</filename>:</para>
    5240
    53 <screen os="i"><userinput>cp config.h{,.orig}
     41<screen os="g"><userinput>cp config.h{,.orig}
    5442sed '/PASSWD_PROGRAM/s@/bin/passwd@/tools&amp;@' config.h.orig &gt; config.h</userinput></screen>
    5543
    56     <para os="j">Compile the package:</para>
     44    <para os="h">Compile the package:</para>
    5745
    58 <screen os="k"><userinput>make</userinput></screen>
     46<screen os="i"><userinput>make</userinput></screen>
    5947
    60     <para os="l">Install the package:</para>
     48    <para os="j">Install the package:</para>
    6149
    62 <screen os="m"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
     50<screen os="k"><userinput>make install</userinput></screen>
     51
     52    <para os="l">Create needed symlinks to be able to log on:</para>
     53
     54<screen os="m"><userinput>ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
    6355
    6456  </sect2>
Note: See TracChangeset for help on using the changeset viewer.