FS#44751 - [chrony] redundant conf file editing in prepare()
Attached to Project:
Community Packages
Opened by Neven Sajko (Neven) - Monday, 27 April 2015, 21:32 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 28 April 2015, 15:49 GMT
Opened by Neven Sajko (Neven) - Monday, 27 April 2015, 21:32 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 28 April 2015, 15:49 GMT
|
Details
The line
echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$pkgdir/etc/chrony.conf" in the PKGBUILD is redundant with the 2.0 release. |
This task depends upon
echo -e "\n# Enable kernel RTC sync\nrtcsync" >> "$pkgdir/etc/chrony.conf"
is in package()
sed -i 's|.pool.ntp.org|.arch.pool.ntp.org|g' examples/chrony.conf.example*
should probably be something like
sed -i 's|pool.ntp.org|arch.pool.ntp.org|g' examples/chrony.conf.example1
because it replaces the space between the 'pool' directive and argument with '.' .
Like this:
! pool.arch.pool.ntp.org iburst
(with a '.' instead of a ' ').
Seems fine now