Ignore:
Timestamp:
Oct 31, 2014, 7:45:10 AM (9 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.

File:
1 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">
Note: See TracChangeset for help on using the changeset viewer.