7 Commits

Author SHA1 Message Date
Didier Roche
0d5ce6daa6
Ensure ubuntu-wsl images can be published in cloud-images again.
The cloud-images logic is now special case for ubuntu-wsl to not require
ending with project_prefix. Readd it first, which will allow us to
ensure backward compability on cloud-images.ubuntu.com
2024-02-16 11:08:47 +01:00
Didier Roche
f49ce9e3d8
Ensure ubuntu-wsl image can be published in cloud-images.
The publisher for cloud-images.ubuntu.com expects that artefacts
finishes with: file_url.endswith(project_prefix + suffix).
Now that we integrate app_id to the image name, we need thus to put it
before project_prefix and not between project_prefix and suffix.
2024-02-12 10:59:27 +01:00
Didier Roche
e5d6d07bad
Enable systemd as part of image creation
Microsoft offically support systemd now and our Pro service relies on
it. This option is enabled by default via our launcher (Windows-side) on
first run for quite a while.
Remve this file creation from it, don’t ship it in a package as the
file may be altered by the user to add additional options and ship it as
part of the rootfs.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2024-02-07 16:58:45 +01:00
Didier Roche
602463592a
Create different WSL tarball depending on upgrade policy
On WSL, we have multiple applications with the same rootfs, but
different upgrade policy:
Ubuntu: should always track latest LTS and offer upgrade.
Ubuntu-<Version>: should never offer upgrade and will stick to Version
Ubuntu-Preview: current in development version.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2024-02-07 16:58:44 +01:00
Jean-Baptiste Lallement
dc1f2618b9 Create missing groups in chroot
netdev and admin where missing from the image after the build has been
separated from CPC

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-31 10:32:49 +02:00
Jean-Baptiste Lallement
28c360c0ab remove attributes not supported by WSL's tar
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-24 14:12:40 +01:00
Jean-Baptiste Lallement
80ccea8d63 Separate WSL from CPC
Create a separate WSL image than CPC so it can be managed independently.

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-17 10:11:39 +01:00