void-packages/srcpkgs/zfs/INSTALL

14 lines
426 B
Plaintext

case "${ACTION}" in
post)
if [ -x usr/bin/dracut ]; then
# Include new modules in all initramfs instances when possible,
# as simultaneous updates of linux and zfs may trigger creation
# of images without modules and unable to boot from ZFS pools.
#
# See https://github.com/void-linux/void-packages/issues/22817
echo "Regenerating initramfs, please wait..."
usr/bin/dracut -f -q --regenerate-all
fi
;;
esac