vp-build/templates/kernel/INSTALL
Juan RP ff782d5685 kernel: update to 2.6.31.2. Run grub-mkconfig at post-install time.
--HG--
extra : convert_revision : f9530cb7462f178464c4fd88e11a7eb78c370ba5
2009-10-06 02:13:08 +02:00

15 lines
262 B
Plaintext

#
# This script updates the grub.cfg file for GRUB2.
#
case "${ACTION}" in
pre)
;;
post)
if [ -x usr/sbin/grub-mkconfig ]; then
echo "Updating grub2 configuration file..."
usr/sbin/grub-mkconfig -o boot/grub/grub.cfg
[ $? -ne 0 ] && exit $?
fi
;;
esac