archboot/usr/lib/initcpio/install/archboot_installer

33 lines
1 KiB
Text
Raw Normal View History

#!/usr/bin/env bash
2008-10-20 22:39:25 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2008-10-20 22:39:25 +02:00
{
2021-09-21 11:03:45 +02:00
add_file "/usr/bin/archboot-setup.sh" "/usr/bin/setup"
add_file "/usr/bin/archboot-quickinst.sh" "/usr/bin/quickinst"
add_file "/usr/bin/genfstab"
add_file "/usr/bin/arch-chroot"
add_file "/usr/bin/pacstrap"
2021-09-16 17:23:49 +02:00
add_file "/usr/bin/archboot-update-installer.sh" "/usr/bin/update-installer.sh"
2021-09-22 09:02:56 +02:00
add_file "/usr/bin/archboot-create-container.sh"
add_file "/usr/bin/archboot-x86_64-release.sh"
add_file "/usr/bin/archboot-mktorrent.sh"
2021-09-23 12:21:08 +02:00
add_file "/usr/bin/archboot-restore-usbstick.sh"
2021-09-22 14:35:11 +02:00
add_binary "/usr/bin/isoinfo"
add_binary "/usr/bin/mktorrent"
2021-10-04 19:52:58 +02:00
# only include cachedir on booted archboot or container
if [[ -e "/etc/hostname" ]]; then
[[ "$(cat /etc/hostname)" == "archboot" ]] && add_full_dir "/var/cache/pacman/pkg"
else
add_full_dir "/var/cache/pacman/pkg"
fi
2008-10-20 22:39:25 +02:00
}
help ()
{
cat<<HELPEOF
This hook includes the archboot installer and arch-install-scripts
2021-10-04 11:13:50 +02:00
on an archboot image.
2008-10-20 22:39:25 +02:00
HELPEOF
}