2010-03-13 09:36:02 +01:00
|
|
|
#
|
|
|
|
# This script builds the required initramfs.
|
|
|
|
#
|
2010-06-06 10:32:02 +02:00
|
|
|
_KVER="2.6.35-rc2"
|
2010-03-13 09:36:02 +01:00
|
|
|
|
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
|
|
|
if [ ! -f var/lib/initramfs-tools/${_KVER} ]; then
|
|
|
|
update-initramfs -c -t -k ${_KVER}
|
|
|
|
else
|
|
|
|
update-initramfs -u -t -k ${_KVER}
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|