I'd like to revisit the way this was fixed in {X,Y,Z} and will need to be fixed in T -- which was to add "-aws" to update-grub-legacy-ec2's whitelist of bootable kernel package names.
We'd like to be able to construct additional EC2-target kernel flavors with other (arbitrary) names, without having to keep updating this whitelist in update-grub-legacy-ec2.
As has been pointed out in bug 1379080, the value of check is debatable anyway. ("... it is perfectly safe to run a Xen-capable kernel on non-Xen hosts ... Recommendation: Update detection logic to search for CONFIG_XEN=y in the kernel config, and remove version string detection.")
I second that proposal, that we eliminate the version string check altogether.
I'd like to revisit the way this was fixed in {X,Y,Z} and will need to be fixed in T -- which was to add "-aws" to update- grub-legacy- ec2's whitelist of bootable kernel package names.
We'd like to be able to construct additional EC2-target kernel flavors with other (arbitrary) names, without having to keep updating this whitelist in update- grub-legacy- ec2.
As has been pointed out in bug 1379080, the value of check is debatable anyway. ("... it is perfectly safe to run a Xen-capable kernel on non-Xen hosts ... Recommendation: Update detection logic to search for CONFIG_XEN=y in the kernel config, and remove version string detection.")
I second that proposal, that we eliminate the version string check altogether.