mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-06 23:51:35 +00:00
ubuntu-image: Avoid filling tmpfs-based /tmp
This commit is contained in:
parent
d79eb2cb9c
commit
8add8daa49
@ -48,8 +48,9 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
# Ubuntu classic preinstalled images
|
# 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 \
|
/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
|
# 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
|
# kind of an image we build, the safest bet is to 'export' all the
|
||||||
# artifacts from the output directory. The image definition file
|
# artifacts from the output directory. The image definition file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user