Date: Monday, July 2, 2012 @ 19:01:37
  Author: tomegun
Revision: 162893

move adjtime

Storing adjtime on /var is causing too much trouble as it may not be mounted at 
early boot.

This reverts to upstream behavior and allows us to simplify initscripts.

This means the hwclock 'daemon' will write to /etc. If this is an issue it 
should be replaced
by something better such as the chrony ntp daemon, which handles the RTC in a 
sensible way.

Modified:
  util-linux/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2012-07-02 22:56:58 UTC (rev 162892)
+++ PKGBUILD    2012-07-02 23:01:37 UTC (rev 162893)
@@ -4,7 +4,7 @@
 
 pkgname=util-linux
 pkgver=2.21.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Miscellaneous system utilities for Linux"
 url="http://www.kernel.org/pub/linux/utils/util-linux/";
 arch=('i686' 'x86_64')
@@ -22,9 +22,6 @@
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  # hardware clock
-  sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i include/pathnames.h
-
   ./configure --prefix=/usr \
               --libdir=/usr/lib \
               --enable-fs-paths-extra=/usr/bin:/usr/sbin \
@@ -48,8 +45,6 @@
 
   cd "${pkgdir}"
 
-  install -dm755 var/lib/hwclock
-
   # broken tool, going away in next major release, so just remove it now
   rm "${pkgdir}"/usr/{bin/chkdupexe,share/man/man1/chkdupexe.1}
 

Reply via email to