Closed stephensp closed 4 weeks ago
I believe this is due to the wrong version of snapd in the build environment. I can reproduce this with snapd 2.63:
> snap list snapd
Name Version Rev Tracking Publisher Notes
snapd 2.63 21759 latest/stable canonical✓ snapd
> snap pack --check-skeleton /root/prime
error: cannot parse snap.yaml: unknown component type "standard"
> snap refresh snapd --channel latest/candidate
2024-10-17T13:01:29Z INFO Waiting for automatic snapd restart...
snapd (candidate) 2.66 from Canonical✓ refreshed
> snap pack --check-skeleton /root/prime
>
Is it possible to set the snapd channel in your launchpad build?
Yes , it builds successfully with snapd channel set to latest/edge . I guess we need to wait for a snapd update.
I spoke to soon. It builds correctly but it does not upload
all: Error in components validation: type 'standard' is not one of ['test', 'kernel-modules']
This seems like a store issue though .
Bug Description
Launchpad builds are not able to support the component type
standard
To Reproduce
Create a snapcraft.yaml with components and set the component type to
standard
. Build in launchpad.Example project with components: https://git.launchpad.net/~portias/+git/kernel-snaps-u24.04/tree/?h=portias/pc-components
Environment
Launchpad.
snapcraft 8.4.3 from Canonical** installed
snapcraft.yaml
Relevant log output
Additional context
No response