- Timestamp:
- Apr 18, 2014, 2:42:51 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- d0dc087
- Parents:
- 241eded2
- Location:
- BOOK/boot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/64/shadow.xml
r241eded2 r64b4aba 36 36 37 37 <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> 39 39 40 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/common/shadow.xml
r241eded2 r64b4aba 34 34 35 35 <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> 37 37 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 51 39 <filename class="directory">/tools/bin</filename>:</para> 52 40 53 <screen os=" i"><userinput>cp config.h{,.orig}41 <screen os="g"><userinput>cp config.h{,.orig} 54 42 sed '/PASSWD_PROGRAM/s@/bin/passwd@/tools&@' config.h.orig > config.h</userinput></screen> 55 43 56 <para os=" j">Compile the package:</para>44 <para os="h">Compile the package:</para> 57 45 58 <screen os=" k"><userinput>make</userinput></screen>46 <screen os="i"><userinput>make</userinput></screen> 59 47 60 <para os=" l">Install the package:</para>48 <para os="j">Install the package:</para> 61 49 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> 63 55 64 56 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.