Testing on Slayton with -proposed flash-kernel. =======================================
ubuntu@ubuntu:~$ cat /proc/device-tree/model HP ProLiant m800 Server Cartridge ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ apt-cache policy flash-kernel flash-kernel: Installed: 3.0~rc.4ubuntu49.3 Candidate: 3.0~rc.4ubuntu49.3 Version table: *** 3.0~rc.4ubuntu49.3 0 500 http://ports.ubuntu.com/ubuntu-ports/ trusty-proposed/main armhf Packages ubuntu@ubuntu:~$ sudo flash-kernel sudo: unable to resolve host ubuntu flash-kernel: installing version 3.13.0-9-keystone Generating boot script u-boot image... done. Taking backup of boot.scr. Installing new boot.scr. ubuntu@ubuntu:~$ ubuntu@ubuntu:~$ ls -lh /boot total 29M -rw------- 1 root root 2.0M Aug 6 16:20 System.map-3.13.0-9-keystone -rw-r--r-- 1 root root 1.1M Aug 6 16:20 abi-3.13.0-9-keystone -rw-r--r-- 1 root root 261 Sep 15 16:50 boot.scr -rw-r--r-- 1 root root 261 Sep 12 04:11 boot.scr.bak -rw-r--r-- 1 root root 140K Aug 6 16:20 config-3.13.0-9-keystone drwxr-xr-x 2 root root 4.0K Aug 15 00:36 grub -rw-r--r-- 1 root root 21M Sep 12 04:11 initrd.img-3.13.0-9-keystone -rw------- 1 root root 4.5M Aug 6 16:20 vmlinuz-3.13.0-9-keystone ubuntu@ubuntu:~$ run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-11-keystone /boot/vmlinuz-3.13.0-11-keystone Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Ignoring non-Xen Kernel on Xen domU host: vmlinuz-3.13.0-11-keystone Ignoring non-Xen Kernel on Xen domU host: vmlinuz-3.13.0-9-keystone Updating /boot/grub/menu.lst ... done ubuntu@ubuntu:~$ sudo apt-get install linux-keysone <skipping some lines> run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 3.13.0-11-keystone /boot/vmlinuz-3.13.0-11-keystone flash-kernel: deferring update (trigger activated) Setting up linux-headers-3.13.0-11-keystone (3.13.0-11.18) ... Setting up linux-image-keystone (3.13.0.11.10) ... Setting up linux-headers-keystone (3.13.0.11.10) ... Setting up linux-keystone (3.13.0.11.10) ... Processing triggers for flash-kernel (3.0~rc.4ubuntu49.3) ... flash-kernel: installing version 3.13.0-11-keystone Generating boot script u-boot image... done. Taking backup of boot.scr. Installing new boot.scr. ubuntu@ubuntu:~$ flash-kernel should ignore linux-generic on slayton because slayton uses flavor kernel -keystone ============================================================================== ubuntu@ubuntu:~$ sudo apt-get install linux-generic run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-36-generic /boot/vmlinuz-3.13.0-36-generic Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Ignoring non-Xen Kernel on Xen domU host: vmlinuz-3.13.0-11-keystone Ignoring non-Xen Kernel on Xen domU host: vmlinuz-3.13.0-9-keystone Found kernel: /boot/vmlinuz-3.13.0-36-generic Replacing config file /run/grub/menu.lst with new version Updating /boot/grub/menu.lst ... done run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 3.13.0-36-generic /boot/vmlinuz-3.13.0-36-generic Ignoring old or unknown version 3.13.0-36-generic (latest is 3.13.0-11-keystone) <<<==== flash kernel ignores linux-generic Setting up linux-image-generic (3.13.0.36.43) ... Setting up linux-headers-3.13.0-36 (3.13.0-36.63) ... Setting up linux-headers-3.13.0-36-generic (3.13.0-36.63) ... Setting up linux-headers-generic (3.13.0.36.43) ... Setting up linux-generic (3.13.0.36.43) ... ubuntu@ubuntu:~$ ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1356569 Title: flash-kernel should not consider ignored kernels as latest To manage notifications about this bug go to: https://bugs.launchpad.net/lomond/+bug/1356569/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs