I got a xenial build to kick off, but unfortunately, craft-providers uses a lot of snap(d) commands and flags, which do not seem to be present in the relevant version for xenial.
So IMHO this would need quite some investment from the starcraft team to make xenial work.
I will create an issue on their tracker and ask for feedback.
Hi Nathan,
I had a closer look into craft-providers, and a mapping for the xenial images is missing.
When patching it in via
``` providers/ lxd/remotes. py b/craft_ providers/ lxd/remotes. py providers/ lxd/remotes. py providers/ lxd/remotes. py
craft-providers on ξ main [$!] via π v2.7.18 (venv)
β― git diff
diff --git a/craft_
index 272722e..33e4ec2 100644
--- a/craft_
+++ b/craft_
@@ -123,6 +123,12 @@ class RemoteImage:
# mapping from supported bases to actual lxd remote images BASE_TO_ LXD_REMOTE_ IMAGE: Dict[Enum, RemoteImage] = { BuilddBaseAlias .XENIAL: RemoteImage( "xenial" , name=BUILDD_ RELEASES_ REMOTE_ NAME, address= BUILDD_ RELEASES_ REMOTE_ ADDRESS, protocol= ProtocolType. SIMPLESTREAMS, BuilddBaseAlias .BIONIC: RemoteImage(
image_ name="core18" ,
remote_ name=BUILDD_ RELEASES_ REMOTE_ NAME,
_PROVIDER_
+ ubuntu.
+ image_name=
+ remote_
+ remote_
+ remote_
+ ),
ubuntu.
```
I got a xenial build to kick off, but unfortunately, craft-providers uses a lot of snap(d) commands and flags, which do not seem to be present in the relevant version for xenial.
So IMHO this would need quite some investment from the starcraft team to make xenial work.
I will create an issue on their tracker and ask for feedback.