2010-03-13 08:36:02 +00:00
|
|
|
#
|
|
|
|
# This script builds the required initramfs.
|
|
|
|
#
|
2011-06-30 20:45:02 +00:00
|
|
|
_KVER="3.0.0-rc5"
|
2010-03-13 08:36:02 +00: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
|