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.
ubuntu-core-desktop-noble
Didier Roche 12 months ago
parent 859bca6fed
commit f49ce9e3d8
No known key found for this signature in database
GPG Key ID: 98B24A9CE4AC208E

@ -84,7 +84,7 @@ create_archive_with_upgrade_policy() {
cd chroot cd chroot
sed -i "s#Prompt=.*#Prompt=${upgrade_policy}#" ./etc/update-manager/release-upgrades sed -i "s#Prompt=.*#Prompt=${upgrade_policy}#" ./etc/update-manager/release-upgrades
tar --xattrs --sort=name -czf ../livecd.ubuntu-wsl.${app_id}.rootfs.tar.gz * tar --xattrs --sort=name -czf ../livecd.${app_id}.ubuntu-wsl.rootfs.tar.gz *
cd .. cd ..
} }

Loading…
Cancel
Save