archboot/usr/lib/initcpio/install/archboot_clock

18 lines
421 B
Bash

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
map add_binary hwclock tzselect zic zdump
map add_full_dir /usr/share/zoneinfo /usr/share/zoneinfo-leaps
add_file /usr/bin/archboot-clock.sh /usr/bin/clock
}
help ()
{
cat<<HELPEOF
This hook includes the timezone data on an archboot image.
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: