APPLIED: [kernel-snaps-uc20][PATCH] pc: revert adopt-info key
Stefan Bader
stefan.bader at canonical.com
Fri Feb 11 09:55:27 UTC 2022
On 08.02.22 11:10, Dimitri John Ledkov wrote:
> No package exists with version 5.4.0-99.112.1 on armhf/arm64 as
> expected by swm. Thus currently it is not possible to create
> consistent snaps across all architectures with the same version
> number. Revert adopt-info, and use hard-coded version number once
> again.
>
> This should unblock swn state for pc-kernel on armhf/arm64.
>
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
> ---
I believe this was already applied to kernel-snaps-uc20/pc. So just for
completeness. Thanks.
-Stefan
> snapcraft.yaml | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/snapcraft.yaml b/snapcraft.yaml
> index 8641885175..ee89aecaf2 100644
> --- a/snapcraft.yaml
> +++ b/snapcraft.yaml
> @@ -1,5 +1,5 @@
> name: pc-kernel
> -adopt-info: kernel
> +version: 5.4.0-99.112.1
> grade: stable
> summary: generic linux kernel
> description: The generic Ubuntu kernel package as a snap
> @@ -20,11 +20,6 @@ package-repositories:
> parts:
> kernel:
> plugin: nil
> - # Set this snap version to the meta version of the package used to
> - # provide kernel.efi / vmlinuz
> - override-pull: |
> - snapcraftctl pull
> - snapcraftctl set-version "$(apt show linux-image-uc20-efi-generic linux-image-generic 2>/dev/null | sed -n 's/^Version: //p' | head -n1)"
> build-packages:
> - kmod
> stage-packages:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220211/2d75b5f1/attachment.sig>
More information about the kernel-team
mailing list