I've tested this on Debian now.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
case $LSB_RED_ID in
"Ubuntu")
- echo "Updating Ubuntu's initramfs for $ver under $dir ..."
+ echo "Updating ${LSB_RED_ID}'s initramfs for $ver under $dir ..."
+ mkinitramfs -o $dir/initrd.img-$ver $ver
+ echo "Will now run update-grub to ensure grub will find the new initramfs ..."
+ update-grub
+ ;;
+"Debian")
+ echo "Updating ${LSB_RED_ID}'s initramfs for $ver under $dir ..."
mkinitramfs -o $dir/initrd.img-$ver $ver
echo "Will now run update-grub to ensure grub will find the new initramfs ..."
update-grub