archboot/usr/lib/initcpio/install/archboot_installer_common

20 lines
677 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" "/usr/lib/archboot/xfce.sh" \
2022-05-23 19:36:18 +02:00
"/usr/lib/archboot/kde.sh" "/usr/lib/archboot/gnome.sh" "/usr/lib/archboot/login.sh"
add_file "/usr/bin/archboot-update-installer.sh" "/usr/bin/update-installer.sh"
add_symlink "/etc/profile.d/zz-archboot-login.sh" "/usr/lib/archboot/login.sh"
}
help ()
{
cat<<HELPEOF
This hook adds basic installer files on an archboot image.
HELPEOF
}