archboot/lib/initcpio/install/arch_tz
2011-07-25 21:53:01 +02:00

22 lines
466 B
Text

# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
MODULES=""
BINARIES="/sbin/hwclock /bin/date /usr/bin/ntpdate"
FILES=""
SCRIPT=""
for i in $(find /usr/share/zoneinfo ! -type d); do
add_file $i
done
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
}