[SRU j/linux-raspi PATCH v2 2/2] UBUNTU: [Packaging] Add snapcraft.yaml for building uc22 pi-kernel snap
Masahiro Yamada
masahiro.yamada at canonical.com
Mon Feb 19 08:36:12 UTC 2024
On Mon, Feb 19, 2024 at 5:32 PM Masahiro Yamada
<masahiro.yamada at canonical.com> wrote:
>
> Add snapcraft.yaml to support the local building for the pi-kernel snap.
> This supports cross-building, making it possible to build the snap on
> your x86 machine, and useful for development purposes.
>
> Build for arm64:
>
> $ snapcraft --use-lxd --build-for=arm64
>
> Build for armhf:
>
> $ snapcraft --use-lxd --build-for=armhf
>
> Both arm64 and armhf snaps were tested on Raspberry Pi 4.
>
> BugLink: https://bugs.launchpad.net/bugs/2051468
> Signed-off-by: Masahiro Yamada <masahiro.yamada at canonical.com>
> Commit-notes:
> Changes since the previos posts
> - Add BugLink
> - Fix BugLink style
> - Add 'PATCH' in the subject prefix
>
> Changes in v2:
> - Remove unneeded CONFIG_MODULE_SIG_FORCE orverride
> - Split the last treak to 'finalize'
> END
> Series-prefix: j/linux-raspi v2 RESEND4
> Cover-letter:
> Make snapcraft.yaml work
>
> 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
>
> END
Oops. These are garbage meta data for a tool.
I will resend this.
More information about the kernel-team
mailing list