diff mbox series

[1/2,FOCAL,linux-signed-uc20-efi] UBUNTU: [Packaging] Add depends on firmware and modules

Message ID 20210728141824.67699-2-dimitri.ledkov@canonical.com
State New
Headers show
Series Snapcraft only syntax for kernelefi snaps | expand

Commit Message

Dimitri John Ledkov July 28, 2021, 2:18 p.m. UTC
Add required firmware, wireless-regdb, modules dependencies to the
image meta. CPU microcode is not needed, as it is already included in
the signed kernel.efi.

This will enable to use `stage-packages:` directive in snapcraft.yaml
when packaging the kernel snap without any makefiles or heuristics.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
---
 debian/control.stub | 2 ++
 1 file changed, 2 insertions(+)

Comments

Dimitri John Ledkov Sept. 23, 2021, 9:22 a.m. UTC | #1
I'd like to apply this, as it is blocking landing the other
snapcraft.yaml changes, which would allow rebuilding security updates
quickly (trackerless).

The concerns w.r.t. lack of version information in the snap branch
have already been addressed and are stored in a separate file.
diff mbox series

Patch

diff --git a/debian/control.stub b/debian/control.stub
index 25333f876b..9f72ac368a 100644
--- a/debian/control.stub
+++ b/debian/control.stub
@@ -11,12 +11,14 @@  Standards-Version: 3.9.4
 
 Package: linux-image-uc20-efi-generic
 Architecture: amd64
+Depends: linux-firmware, wireless-regdb, linux-modules-@ABI@-generic, linux-modules-extra-@ABI@-generic
 Description: Signed UC20 kernel image generic
  A kernel image for generic UC20.  This version of it is signed with
  Canonical's UEFI signing key.
 
 Package: linux-image-uc20-efi-lowlatency
 Architecture: amd64
+Depends: linux-firmware, wireless-regdb, linux-modules-@ABI@-lowlatency
 Description: Signed UC20 kernel image generic
  A kernel image for generic UC20.  This version of it is signed with
  Canonical's UEFI signing key.