Ignore:
Timestamp:
Oct 31, 2014, 7:45:15 AM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
sysvinit
Children:
7e068be
Parents:
99b703e
git-author:
William Harrington <kb0iic@…> (10/31/14 07:45:10)
git-committer:
William Harrington <kb0iic@…> (10/31/14 07:45:15)
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

    r99b703e r8a76af3  
    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.