archboot/usr/lib/initcpio/install/archboot_installer

31 lines
936 B
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
{
apps="genfstab arch-chroot pacstrap \
2022-02-09 16:38:44 +01:00
archboot-$(uname -m)-release.sh \
2022-02-09 16:39:36 +01:00
archboot-restore-usbstick.sh isoinfo archboot-copy-mountpoint.sh \
2022-01-31 10:53:46 +01:00
archboot-rsync-backup.sh archboot-binary-check.sh"
for i in $apps; do
add_binary "$i"
done
add_file "/usr/lib/archboot/release_functions"
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"
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,archinstaller 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
}