archboot/usr/lib/initcpio/install/archboot_installer_common

19 lines
583 B
Text
Raw Normal View History

#!/usr/bin/env bash
# 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" \
"/usr/lib/archboot/update-installer.sh"
add_file "/usr/bin/archboot-update-installer.sh" "/usr/bin/update-installer.sh"
2022-04-26 15:19:00 +02:00
add_file "/usr/share/archboot/installer/etc/profile.d/launch-setup.sh" "/etc/profile.d/launch-setup.sh"
}
help ()
{
cat<<HELPEOF
This hook adds basic installer files on an archboot image.
HELPEOF
}