archboot/usr/lib/initcpio/install/archboot_base_latest
2022-01-31 10:49:49 +01:00

18 lines
477 B
Bash

#!/usr/bin/env bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
### adding config files of installation system
for i in $(find /usr/share/archboot/base/etc/* ! -type d ! -name passwd); do
add_file "$i" "$(echo $i | sed -e 's#/usr/share/archboot/base##g')"
done
add_file "/usr/share/archboot/installer_latest/etc/passwd" "/etc/passwd"
}
help ()
{
cat <<HELPEOF
This hook sets up stripped down base for for latest image.
HELPEOF
}