NACK: [SRU j/linux-raspi PATCH v2 0/2] Make snapcraft.yaml work
Juerg Haefliger
juerg.haefliger at canonical.com
Mon Feb 19 10:04:19 UTC 2024
Newer version on the ML.
...Juerg
On Mon, 19 Feb 2024 17:32:41 +0900
Masahiro Yamada <masahiro.yamada at canonical.com> wrote:
> linux-raspi added snapcraft.yaml more than a decade ago,
> which is not functional at all.
>
> Remove the old one, and re-implement working snapcraft.yaml.
>
> BugLink: https://bugs.launchpad.net/bugs/2051468
>
> SRU Justification:
>
> Impact:
>
> The in-tree snapcraft.yaml is stale. It does not produce any functional kernel
> snap for jammy:linux-raspi.
>
> Fix:
> Replace the stale snapcraft.yaml with a newly implemented one.
>
> Testcase:
>
> Build a pi-kernel with the following command:
>
> [for arm64]
>
> $ snapcraft --use-lxd --build-for=arm64
>
> [for armhf]
>
> $ snapcraft --use-lxd --build-for=armhf
>
> Then, install it to Ubuntu Core 22 running on a raspi board.
>
> $ snap install --dangerous <kernel-snap>
>
> Please note you need "grade: dangerous" for replacing
> the kernel using the local snap.
>
>
>
> Masahiro Yamada (2):
> UBUNTU: [Packaging] Remove old snapcraft.yaml
> UBUNTU: [Packaging] Add snapcraft.yaml for building uc22 pi-kernel
> snap
>
> snapcraft.yaml | 175 ++++++++++++++++++++++++++++++++++++++++---------
> 1 file changed, 145 insertions(+), 30 deletions(-)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240219/1794cc1e/attachment.sig>
More information about the kernel-team
mailing list