[Bug 2103735] [NEW] Avoid tmpfs /tmp during ubuntu-image builds
Dave Jones
2103735 at bugs.launchpad.net
Thu Mar 20 17:27:37 UTC 2025
Public bug reported:
At present, the Ubuntu Desktop for Raspberry Pi images are failing to
build [1] [2] with an apparent out of space issue. Although this appears
to occur *after* the rootfs has been allocated, it appears the file-
system image is sparse and thus doesn't take much space until it is
actually populated.
ubuntu-image (which is the tool used to build these images) defaults to
using /tmp as its working directory. This is now a tmpfs mount on
plucky, and thus of extremely limited space (at least compared to the
persistent storage). We should specify --workdir to avoid /tmp.
[1]: https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/plucky/ubuntu-
preinstalled
[2]:
https://launchpadlibrarian.net/782891260/buildlog_ubuntu_plucky_arm64_raspi_ubuntu-
preinstalled_BUILDING.txt.gz
** Affects: livecd-rootfs (Ubuntu)
Importance: Critical
Assignee: Dave Jones (waveform)
Status: Triaged
** Changed in: livecd-rootfs (Ubuntu)
Assignee: (unassigned) => Dave Jones (waveform)
** Changed in: livecd-rootfs (Ubuntu)
Status: New => Triaged
** Changed in: livecd-rootfs (Ubuntu)
Importance: Undecided => Critical
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2103735
Title:
Avoid tmpfs /tmp during ubuntu-image builds
Status in livecd-rootfs package in Ubuntu:
Triaged
Bug description:
At present, the Ubuntu Desktop for Raspberry Pi images are failing to
build [1] [2] with an apparent out of space issue. Although this
appears to occur *after* the rootfs has been allocated, it appears the
file-system image is sparse and thus doesn't take much space until it
is actually populated.
ubuntu-image (which is the tool used to build these images) defaults
to using /tmp as its working directory. This is now a tmpfs mount on
plucky, and thus of extremely limited space (at least compared to the
persistent storage). We should specify --workdir to avoid /tmp.
[1]: https://launchpad.net/~ubuntu-
cdimage/+livefs/ubuntu/plucky/ubuntu-preinstalled
[2]:
https://launchpadlibrarian.net/782891260/buildlog_ubuntu_plucky_arm64_raspi_ubuntu-
preinstalled_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2103735/+subscriptions
More information about the foundations-bugs
mailing list