# 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
}
