Handle initramfs update in a clean way