canonical / charm-sysconfig

A subordinate charm to apply system settings like grub configurations or systemd configurations.
Apache License 2.0
0 stars 5 forks source link

Missing linux-modules-extra #21

Closed dashmage closed 9 months ago

dashmage commented 9 months ago

Expected behaviour

When configuring a target kernel version we want to install the corresponding linux-image but also linux-modules-extra

Actual behaviour

If the configured kernel is already active we do not get linux-modules-extra

Steps to repro

Details

When configuring a target kernel version the charm checks if this work is actually necessary (to possibly save a reboot). However this checks the running kernel, so if the kernel is already at the target version we also skip the extra modules install.

I'd propose to split out a check for linux-modules-extra and install that in any case.


Imported from Launchpad using lp2gh.