[ACT][PATCH 0/7] Install the linux-modules-extra package matching the running kernel

Po-Hsu Lin po-hsu.lin at canonical.com
Fri Nov 5 11:35:10 UTC 2021


On Thu, Nov 4, 2021 at 9:02 PM Francis Ginther
<francis.ginther at canonical.com> wrote:
>
> When needing to install the linux-modules-extra package, always install
> the one matching the current running kernel via the uname release string
> (i.e. uname -r). Using wildcards in the install string may include
> packages that are not installable, so an exact package name is needed.
>
> Also remove the flavour checks so that as we add new flavours, we don't
> need to update the package install code.
>
Hi Francis,
I like the idea to make this applicable to all the variants without
the need to update the flavours list.

However I think there are some exceptions here, we don't have this
module-extra package for OEM kernels nor the KVM kernel (so far these
two came up in my mind). This change might break them with the
packages that are not installable error.
Maybe a filter to ignore these will do?

Thanks
Sam

> Francis Ginther (7):
>   UBUNTU: SAUCE: ubuntu_kernel_selftests: Install the
>     linux-modules-extra package matching the running kernel
>   UBUNTU: SAUCE: ubuntu_ltp: Install the linux-modules-extra package
>     matching the running kernel
>   UBUNTU: SAUCE: ubuntu_ltp_controllers: Install the linux-modules-extra
>     package matching the running kernel
>   UBUNTU: SAUCE: ubuntu_ltp_stable: Install the linux-modules-extra
>     package matching the running kernel
>   UBUNTU: SAUCE: ubuntu_ltp_syscalls: Install the linux-modules-extra
>     package matching the running kernel
>   UBUNTU: SAUCE: ubuntu_quota_smoke_test: Install the
>     linux-modules-extra package matching the running kernel
>   UBUNTU: SAUCE: ubuntu_zram_smoke_test: Install the linux-modules-extra
>     package matching the running kernel
>
>  ubuntu_kernel_selftests/ubuntu_kernel_selftests.py |  5 ++---
>  ubuntu_ltp/ubuntu_ltp.py                           |  4 +---
>  ubuntu_ltp_controllers/ubuntu_ltp_controllers.py   |  5 ++---
>  ubuntu_ltp_stable/ubuntu_ltp_stable.py             |  4 +---
>  ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py         |  5 ++---
>  ubuntu_quota_smoke_test/ubuntu_quota_smoke_test.py |  5 +----
>  ubuntu_zram_smoke_test/ubuntu_zram_smoke_test.py   | 10 +++-------
>  7 files changed, 12 insertions(+), 26 deletions(-)
>
> --
> 2.30.2
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list