APPLIED: [SRU][K linux-oracle][PATCH] UBUNTU: [Packaging] remove circular dep between modules and image
Dimitri John Ledkov
dimitri.ledkov at canonical.com
Wed Nov 16 14:17:26 UTC 2022
Applied to kinetic:linux-oracle master-next branch
On Tue, 25 Oct 2022 at 08:16, Dimitri John Ledkov
<dimitri.ledkov at canonical.com> wrote:
>
> Currently we have circular dependencies between linux-image and
> linux-modules/linux-modules-extra packages. This is redundant, and
> harmful when additional types of linux-images are provided
> (i.e. kernel.efi).
>
> Break the circular dependency by only keeping linux-image ->
> linux-modules dep, remove linux-modules -> linux-image dep, remove
> linux-modules-extra -> linux-image dep, add linux-modules-extra ->
> linux-modules dep.
>
> BugLink: https://bugs.launchpad.net/bugs/1989334
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
> ---
> debian.oracle/control.d/flavour-control.stub | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debian.oracle/control.d/flavour-control.stub b/debian.oracle/control.d/flavour-control.stub
> index dba2bda9e337..1d658c4915fa 100644
> --- a/debian.oracle/control.d/flavour-control.stub
> +++ b/debian.oracle/control.d/flavour-control.stub
> @@ -65,13 +65,13 @@ Description: Oracle Linux kernel extra modules for version PKGVER on DESC
>
> Package: linux-modules-extra-PKGVER-ABINUM-FLAVOUR
> Build-Profiles: <!stage1>
> Architecture: ARCH
> Section: kernel
> Priority: optional
> -Depends: ${misc:Depends}, ${shlibs:Depends}, linux-image-PKGVER-ABINUM-FLAVOUR | linux-image-unsigned-PKGVER-ABINUM-FLAVOUR, wireless-regdb
> +Depends: ${misc:Depends}, ${shlibs:Depends}, wireless-regdb, linux-modules-PKGVER-ABINUM-FLAVOUR
> Description: Oracle Linux kernel extra modules for version PKGVER on DESC
> This package contains the Oracle Linux kernel extra modules for version PKGVER on
> DESC.
> .
> Also includes the corresponding System.map file, the modules built by the
> packager, and scripts that try to ensure that the system is not left in an
> --
> 2.34.1
>
--
okurrr,
Dimitri
More information about the kernel-team
mailing list