archboot/usr/lib/initcpio/install/arch_tz
Tobias Powalowski 618afa451d fix ntp.conf
2013-05-08 16:56:34 +02:00

25 lines
559 B
Bash

#!/bin/bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
add_binary "/sbin/hwclock"
add_binary "/bin/date"
add_binary "/usr/bin/ntpdate"
add_binary "/usr/bin/ntpd"
add_file "/etc/ntp.conf"
for i in $(find /usr/share/zoneinfo ! -type d); do
add_file $i
done
add_dir "/var/lib/ntp"
add_file "/usr/share/archboot/tz/tz" "/usr/bin/tz"
# fix licenses
add_file "/usr/share/licenses/ntp/LICENSE"
}
help ()
{
cat<<HELPEOF
This hook includes the timezone data on an arch boot image.
HELPEOF
}