Stefan,
  Is there a reason to do this differently than in raring?
  Basically, in raring we just added something like this:
+       *-generic)
+         # Starting with 12.10, -virtual was merged into -generic
+         dpkg --compare-versions ${ver_flavor%-generic} ge 3.4.0-3 && return 
0;;

to the is_xen code.

That code is dumber (and less flexible) than it could be by design.
Originally, the list of "xen kernels" was created based on presense of
CONFIG_XEN_PRIVILEGED_GUEST=y in the boot config.

However, there were kernels (the -server in lucid, for example) that had
that setting, but did not actually support booting on EC2.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1176159

Title:
  [Lucid] Backport generic detection of Xen kernels for EC2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1176159/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to