archboot/lib/initcpio/install/arch_addons

26 lines
928 B
Text
Raw Normal View History

2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
install ()
{
MODULES=""
BINARIES=""
FILES=""
2007-09-07 19:22:10 +02:00
SCRIPT="arch_addons"
echo "- ARCH_ADDONS USAGE:" >> ${OPTIONSBOOTMESSAGE}
echo " In order to load external addon packages or configs" >> ${OPTIONSBOOTMESSAGE}
2008-10-20 22:39:25 +02:00
echo " into the install environment, please append arch-addons to boot prompt." >> ${OPTIONSBOOTMESSAGE}
echo " Place external addon packages in /packages directory." >> ${OPTIONSBOOTMESSAGE}
echo " Place external configs in /config directory." >> ${OPTIONSBOOTMESSAGE}
2008-12-06 19:12:19 +01:00
echo "" >> ${OPTIONSBOOTMESSAGE}
2008-10-20 22:39:25 +02:00
! [ -d ${TEMPDIR}/packages ] && mkdir ${TEMPDIR}/packages
! [ -d ${TEMPDIR}/config ] && mkdir ${TEMPDIR}/config
cp -r /etc/archboot/packages/* ${TEMPDIR}/packages
cp -r /etc/archboot/config/* ${TEMPDIR}/config
2007-02-22 23:46:50 +01:00
}
help ()
{
cat<<HELPEOF
This hook includes the addons check on an arch boot image.
HELPEOF
}