[arch-commits] Commit in chrony/trunk (PKGBUILD)
Daniel Micay
thestinger at nymeria.archlinux.org
Tue Oct 29 00:05:32 UTC 2013
Date: Tuesday, October 29, 2013 @ 01:05:32
Author: thestinger
Revision: 99444
chrony: use kernel RTC sync, to avoid grabbing /dev/rtc
Modified:
chrony/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-28 22:19:23 UTC (rev 99443)
+++ PKGBUILD 2013-10-29 00:05:32 UTC (rev 99444)
@@ -9,7 +9,7 @@
pkgname=chrony
pkgver=1.29
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight NTP client and server'
arch=('i686' 'x86_64')
url="http://chrony.tuxfamily.org/"
@@ -34,10 +34,10 @@
install -Dm0644 "$srcdir/$pkgname-$pkgver/examples/chrony.conf.example" "$pkgdir/etc/chrony.conf"
- # Arch's kernel has enhanced RTC support, make chrony use it by default
- sed -i '/^! \(rtconutc\|rtcfile \/var\/lib\/chrony\/rtc\)$/ s/^! //' \
- "$pkgdir/etc/chrony.conf"
+ echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$pkgdir/etc/chrony.conf"
+ sed -i '/^! rtconutc$/ s/^! //' "$pkgdir/etc/chrony.conf"
+
mv "$pkgdir/usr/sbin/chronyd" "$pkgdir/usr/bin"
rmdir "$pkgdir/usr/sbin"
More information about the arch-commits
mailing list