Changeset 0fc2814 for BOOK/final-system


Ignore:
Timestamp:
Oct 31, 2014, 7:45:10 AM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
master, systemd
Children:
54e2d8f
Parents:
0f2cdb1
Message:

Add ADJTIME_PATH variable during configure for setting the adjtime path rather than use a sed.

Location:
BOOK/final-system
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/util-linux.xml

    r0f2cdb1 r0fc2814  
    3333    <command>hwclock</command> program FHS-compliant, run the following:</para>
    3434
    35 <screen><userinput>sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
    36     $(grep -rl '/etc/adjtime' .)
    37 mkdir -pv /var/lib/hwclock</userinput></screen>
     35<screen><userinput>mkdir -pv /var/lib/hwclock</userinput></screen>
    3836
    3937  </sect2>
     
    4442    <para os="a">Prepare Util-linux for compilation:</para>
    4543
    46 <screen os="b"><userinput>./configure --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
     44<screen os="b"><userinput>./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
     45    --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    4746
    4847    <variablelist os="c">
  • BOOK/final-system/multilib/util-linux-64bit-pass1.xml

    r0f2cdb1 r0fc2814  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="be"><userinput>./configure --prefix=/tools \
    29     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     28<screen os="be"><userinput>./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
     29    --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3030    --libdir='${prefix}'/lib64 --disable-makeinstall-chown \
    3131    --disable-makeinstall-setuid</userinput></screen>
  • BOOK/final-system/multilib/util-linux-64bit.xml

    r0f2cdb1 r0fc2814  
    3030    xpointer="xpointer(//*[@os='a'])"/>
    3131
    32 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \
    33     --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
     32<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
     33    --libdir=/lib64 --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    3434
    3535    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/util-linux-n32.xml

    r0f2cdb1 r0fc2814  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --libdir=/lib32 \
    30     --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
     29<screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure ADJTIME_PATH=/var/lib/hwclcock/adjtime \
     30    --libdir=/lib32 --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/util-linux.xml

    r0f2cdb1 r0fc2814  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --libdir=/lib \
    30     --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
     29<screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
     30    --libdir=/lib --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.