Menu

#4575 Support Ubuntu 14.04.2 kernel

2.9.1
closed
None
ubuntu
5
2015-03-18
2015-02-18
Matt Ezell
No

Ubuntu 14.04 and 14.04.1 included the kernel version 3.13 by the metapackage linux-image-generic. 14.04.2 includes 3.16 via a different metapackage called linux-image-generic-lts-utopic. Even if I change the pkglist to use linux-image-generic-lts-utopic, xCAT changes it back to linux-image-generic and I get the wrong version installed.

It might be possible to set the kernel version on the osimage, but I'd prefer to just get the latest via the metapackage.

The following change does what I expect:

root@crest-mgmt1:~# diff ./genimage /opt/xcat/share/xcat/netboot/ubuntu/genimage
--- ./genimage                                          2015-02-18 12:15:21.132870829 -0500
+++ /opt/xcat/share/xcat/netboot/ubuntu/genimage        2015-02-18 15:12:59.192556196 -0500
@@ -397,7 +397,7 @@
                     push @npa, $kernelname;
                 }
                 elsif ($p =~ /linux-image-generic/) {
-                    $kernelimage = "linux-image-generic";
+                    $kernelimage = $p;
                 }
                 elsif ($p =~ /^@/) {
                     push @npa, "\"$p\"";

Discussion

  • Victor Hu

    Victor Hu - 2015-02-20
    • status: open --> accepted
    • assigned_to: Guang Cheng Li --> Victor Hu
     
  • Victor Hu

    Victor Hu - 2015-02-20

    Matt,

    Thanks for bringing this to our attention.

    I'm able to re-create what you are describing and I agree that we should not change the pkgname to "linux-image-generic".

    We are doing some verification testing for 14.04.2 and will push in this change to the 2.9.1 build.

     
  • Victor Hu

    Victor Hu - 2015-02-20

    To ssh://victorhu@git.code.sf.net/p/xcat/xcat-core
    2901e98..ec96581 2.9 -> 2.9
    733e2bc..a632f31 master -> master

     
  • Victor Hu

    Victor Hu - 2015-02-20
    • status: accepted --> pending
     
  • Victor Hu

    Victor Hu - 2015-03-18
    • status: pending --> closed
     
  • Victor Hu

    Victor Hu - 2015-03-18

    Closing out this bug in preparation for 2.9.1 GA