archboot/usr/lib/initcpio/install/archboot_installer_common
Tobias Powalowski 35f302c133 fix ttypo
2023-07-17 13:03:52 +02:00

24 lines
814 B
Bash

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
map add_file "/etc/archboot/defaults" "/usr/lib/archboot/common.sh" \
"/usr/lib/archboot/container.sh" "/usr/bin/archboot-$(uname -m)-create-container.sh" \
"/usr/lib/archboot/login.sh" "/usr/lib/archboot/cpio.sh" "/usr/bin/archboot-cpio.sh" \
"/usr/lib/archboot/basic-common.sh"
add_full_dir "/usr/lib/archboot/update"
add_file "/usr/bin/archboot-update.sh" "/usr/bin/update"
add_file "/usr/share/archboot/gpg/tpowa.gpg"
# use /etc/profile to launch login.sh
echo ". /usr/lib/archboot/login.sh" >> ${BUILDROOT}/root/.bashrc
}
help ()
{
cat<<HELPEOF
This hook adds basic installer files on an archboot image.
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: