archboot/usr/lib/initcpio/install/archboot_tz
2023-03-09 07:28:38 +01:00

18 lines
409 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
map add_full_dir /usr/share/zoneinfo /usr/share/zoneinfo-leaps
add_file "/usr/bin/archboot-tz.sh" "/usr/bin/tz"
}
help ()
{
cat<<HELPEOF
This hook includes the timezone data on an archboot image.
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: