[SRU j/linux-raspi PATCH v2 0/2] Make snapcraft.yaml work

Masahiro Yamada masahiro.yamada at canonical.com
Mon Feb 19 08:37:03 UTC 2024


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(-)

-- 
2.40.1




More information about the kernel-team mailing list