#
# This script builds the required initramfs.
#
case "${ACTION}" in
post)
	if [ ! -f var/lib/initramfs-tools/${VERSION}-xen-dom0 ]; then
		update-initramfs -B -c -k ${VERSION}-xen-dom0
	else
		update-initramfs -B -u -k ${VERSION}-xen-dom0
	fi
	;;
esac
