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
ubuntu-core-desktop-noble
Didier Roche 10 months ago
parent 77036593d7
commit 0d5ce6daa6
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.${app_id}.ubuntu-wsl.rootfs.tar.gz * tar --xattrs --sort=name -czf ../livecd.ubuntu-wsl.${app_id}.rootfs.tar.gz *
cd .. cd ..
} }

Loading…
Cancel
Save