Change position of the payload assets.

This commit is contained in:
Łukasz 'sil2100' Zemczak 2023-10-29 22:24:08 +02:00
parent e4ad5b793b
commit 2b4a404854

View File

@ -121,8 +121,9 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
rm -rf output/
# Prepare the source catalogue
cat install-sources.yaml.in | sed "s/@SIZE@/$(shell stat -c%s pc.img.xz)/g" > install-sources.yaml
# Now move all of the payload to the build directory
mv install-sources.yaml pc.img.xz autoinstall.yaml 99-custom-networking.cfg ../
# Now move all of the payload to the image-definitions directory,
# so that they can be used by the image-definition effectively.
mv install-sources.yaml pc.img.xz autoinstall.yaml 99-custom-networking.cfg ../image-definitions/
cd ../
echo "Image payload build completed, continuing"