mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-09 01:41:31 +00:00
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.
This commit is contained in:
parent
859bca6fed
commit
f49ce9e3d8
@ -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…
x
Reference in New Issue
Block a user