2008-10-20 22:39:25 +02:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
2011-06-10 08:26:54 +02:00
|
|
|
build ()
|
2008-10-20 22:39:25 +02:00
|
|
|
{
|
|
|
|
MODULES=""
|
|
|
|
BINARIES="hwclock date ntpdate"
|
|
|
|
FILES=""
|
|
|
|
SCRIPT=""
|
2009-05-08 08:05:45 +02:00
|
|
|
for i in $(find /usr/share/zoneinfo ! -type d); do
|
|
|
|
add_file $i
|
|
|
|
done
|
2009-05-24 15:47:17 +02:00
|
|
|
add_file "/usr/share/archboot/tz/tz" "/usr/bin/tz"
|
2009-05-08 08:05:45 +02:00
|
|
|
# fix licenses
|
2011-05-09 14:28:33 +02:00
|
|
|
add_file "/usr/share/licenses/ntp/LICENSE"
|
2008-10-20 22:39:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook includes the timezone data on an arch boot image.
|
|
|
|
HELPEOF
|
|
|
|
}
|