fwiw, if you put an executable program 'is_xen_kernel' anywhere in PATH when update-grub-legacy-ec2 is running, it will be used instead of the is_xen_kernel inside.
So, to make this work without any protection is just like:
ln -s /usr/bin/is_xen_kernel /bin/true
fwiw, if you put an executable program 'is_xen_kernel' anywhere in PATH when update- grub-legacy- ec2 is running, it will be used instead of the is_xen_kernel inside.
So, to make this work without any protection is just like:
ln -s /usr/bin/ is_xen_ kernel /bin/true