~canonical-kernel-snaps/+git/kernel-snaps-uc20:master

Last commit made on 2022-12-15
Get this branch:
git clone -b master https://git.launchpad.net/~canonical-kernel-snaps/+git/kernel-snaps-uc20
Members of Canonical Kernel Snaps can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

24e8203... by Dimitri John Ledkov

Revert "temporary build with staging2, for linux-iot spin"

This reverts commit 96beb5f9633494d397ab1d80d67f880e5404d374.

96beb5f... by Dimitri John Ledkov

temporary build with staging2, for linux-iot spin

Signed-off-by: Dimitri John Ledkov <email address hidden>

44ca07b... by Dimitri John Ledkov

Copy snapd-info when available

Signed-off-by: Dimitri John Ledkov <email address hidden>
(cherry picked from commit 331a0eeff1193e0b2baddc24da5aeff18025cae4)

97062d6... by Dimitri John Ledkov

Copy host trusted.gpg.d directory too, LP started to use it

Signed-off-by: Dimitri John Ledkov <email address hidden>

b929a7f... by Dimitri John Ledkov

Makefile.efi: allow kernel.efi without suffix version

Support installing kernel.efi without suffix version

Signed-off-by: Dimitri John Ledkov <email address hidden>

81dc427... by Juerg Haefliger

trim-firmware: Keep the wifi regulatory database files

Signed-off-by: Juerg Haefliger <email address hidden>

6d91407... by Juerg Haefliger

Remove unnecessary firmware binaries

BugLink: https://bugs.launchpad.net/bugs/1951422
BugLink: https://bugs.launchpad.net/bugs/1951423

linux-firmware provides a lot of binaries that are not needed/required and
just blow up the size of the kernel snap. In order to reduce the snap size,
remove all firmware binaries that are not referenced by the kernel. But
only if TRIM_FIRMWARE is set to 'true'.

Note that older kernels don't reference brcm firmware config files so
copy the whole directory content to be on the safe side.

Signed-off-by: Juerg Haefliger <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Juerg Haefliger <email address hidden>

354de70... by Stefan Bader

Fix build by adding continuation mark

The new if line did not get continued and broke the builds.

Signed-off-by: Stefan Bader <email address hidden>

beb567c... by Juerg Haefliger

Add kernel.yaml based on a make parameter

Copy kernel.yaml into the snap only if explicitly requested via a
make parameter.

Signed-off-by: Juerg Haefliger <email address hidden>

8fa6fd1... by Dimitri John Ledkov

Copy host trusted.gpg if exists

On focal hosts, trusted.gpg may not exist, as by default key snippets
are used for everything.

Fixes: 4581804 ("Copy host trusted.gpg keyring into the chroot")

Signed-off-by: Dimitri John Ledkov <email address hidden>