3
0
mirror of https://git.launchpad.net/livecd-rootfs synced 2025-04-07 00:01:59 +00:00

ubuntu-image: Avoid filling tmpfs-based /tmp

This commit is contained in:
Dave Jones 2025-03-20 17:22:32 +00:00
parent d79eb2cb9c
commit 8add8daa49
No known key found for this signature in database
GPG Key ID: 3D633E44A057F8D5

@ -48,8 +48,9 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
exit 0
else
# Ubuntu classic preinstalled images
# --workdir is specified to avoid filling /tmp which is now a tmpfs
/snap/bin/ubuntu-image classic --verbose $UBUNTU_IMAGE_ARGS \
-O output "$IMAGE_DEFINITION"
--workdir work -O output "$IMAGE_DEFINITION"
# Since the output of the ubuntu-image call can vary based on what
# kind of an image we build, the safest bet is to 'export' all the
# artifacts from the output directory. The image definition file