archboot/usr/lib/initcpio/install/arch_refind

18 lines
382 B
Text
Raw Normal View History

2012-09-26 12:51:22 +02:00
#!/bin/bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
2013-07-04 21:58:26 +02:00
[[ "$(uname -m )" == "x86_64" ]] && add_file "/usr/lib/refind/refind_x64.efi"
[[ "$(uname -m )" == "i686" ]] && add_file "/usr/lib/refind/refind_ia32.efi"
2012-09-26 18:23:12 +02:00
add_file "/usr/lib/refind/config/refind.conf"
2012-09-26 12:51:22 +02:00
}
help ()
{
cat<<HELPEOF
2013-07-04 21:58:26 +02:00
This hook includes refind-efi on an arch boot image.
2012-09-26 12:51:22 +02:00
HELPEOF
}