mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-08-08 12:36:06 +01:00
Change all references to /etc/adjtime in the Util-Linux sources to /var/lib/hwclock/adjtime. Fixes #1984.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8065 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
8536c02ded
commit
a728d16976
@ -39,6 +39,14 @@
|
||||
<listitem>
|
||||
<para>2007-04-16</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[matthew] - Change all references to
|
||||
<filename>/etc/adjtime</filename> in the Util-Linux sources to
|
||||
<filename>/var/lib/hwclock/adjtime</filename>. Previously, only
|
||||
<filename>hwclock/hwclock.c</filename> was changed, which meant that
|
||||
man pages contained references to the non-FHS compliant location.
|
||||
Fixes <ulink url="&lfs-ticket-root;1984">#1984</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[matthew] - Upgrade to Udev-108. Fixes
|
||||
<ulink url="&lfs-ticket-root;1976">#1976</ulink>.</para>
|
||||
|
@ -43,8 +43,8 @@
|
||||
<command>hwclock</command> program FHS-compliant, run the
|
||||
following:</para>
|
||||
|
||||
<screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
|
||||
hwclock/hwclock.c
|
||||
<screen><userinput>sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
|
||||
-i $(grep -rl '/etc/adjtime' .)
|
||||
mkdir -pv /var/lib/hwclock</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user