2022-01-31 11:37:19 +01:00
|
|
|
#!/usr/bin/env bash
|
2023-01-27 08:08:28 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2022-01-31 11:37:19 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
|
|
|
build ()
|
|
|
|
{
|
2022-03-21 22:46:59 +01:00
|
|
|
map add_file "/etc/archboot/defaults" "/usr/lib/archboot/common.sh" \
|
2022-04-25 15:11:54 +02:00
|
|
|
"/usr/lib/archboot/container.sh" "/usr/bin/archboot-$(uname -m)-create-container.sh" \
|
2022-11-23 11:28:41 +01:00
|
|
|
"/usr/lib/archboot/login.sh"
|
|
|
|
add_full_dir "/usr/lib/archboot/update-installer"
|
2022-06-21 07:17:04 +02:00
|
|
|
add_file "/usr/bin/archboot-update-installer.sh" "/usr/bin/update-installer"
|
2022-05-30 21:50:44 +02:00
|
|
|
add_file "/usr/share/archboot/gpg/tpowa.gpg"
|
2023-01-28 22:31:21 +01:00
|
|
|
# use /etc/profile to launch login.sh
|
|
|
|
echo ". /usr/lib/archboot/login.sh" >> $BUILDROOT/etc/profile
|
2022-01-31 11:37:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook adds basic installer files on an archboot image.
|
|
|
|
HELPEOF
|
|
|
|
}
|
2023-01-27 08:08:28 +01:00
|
|
|
# vim: set ft=sh ts=4 sw=4 et:
|