Focal linux-gkeop package won't get module-extras package installed

Bug #1909232 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux-gkeop (Ubuntu)
New
Undecided
Unassigned

Bug Description

Issue found on Focal 5.4.0-1008.9 GKEOP

This is what you will see when trying to install linux-gkeop on Focal:
$ sudo apt install linux-gkeop
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libnuma1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-firmware linux-gkeop-headers-5.4.0-1008 linux-headers-5.4.0-1008-gkeop linux-headers-gkeop linux-image-5.4.0-1008-gkeop
  linux-image-gkeop linux-modules-5.4.0-1008-gkeop thermald
Suggested packages:
  fdutils linux-doc | linux-gkeop-source-5.4.0 linux-gkeop-tools
The following NEW packages will be installed:
  amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-firmware linux-gkeop linux-gkeop-headers-5.4.0-1008 linux-headers-5.4.0-1008-gkeop linux-headers-gkeop linux-image-5.4.0-1008-gkeop
  linux-image-gkeop linux-modules-5.4.0-1008-gkeop thermald
0 upgraded, 13 newly installed, 0 to remove and 19 not upgraded.
Need to get 141 MB of archives.
After this operation, 731 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

BTW,
with the module extra package installed, the following command will print two entries
  $ grep menuentry /boot/grub/grub.cfg | grep -F gkeop | grep -v recovery | awk {' print $15 '} | sed "s/'//g"
  gnulinux-5.4.0-1008-gkeop-advanced-dc7ce673-d33f-4a3b-bce1-fff7064b9ab4
  osprober-gnulinux-/boot/vmlinuz-5.4.0-1008-gkeop--dc7ce673-d33f-4a3b-bce1-fff7064b9ab4

This will cause boot-kernel-simple to select the wrong kernel to process (these two will be combined together)

Without the module extra package, there will be just:
  gnulinux-5.4.0-1008-gkeop-advanced-dc7ce673-d33f-4a3b-bce1-fff7064b9ab4

I think maybe we can change the grep target "gkeop" to "gkeop-advanced"

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Test shows change the grep target "gkeop" to "gkeop-advanced" is still working for B-5.4-gkeop.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.