Created attachment 476676 [details]
Enable an optional tmpdir for fs.resize2fs()
During image resizing or minimizing, the output from e2image in fs.resize2fs() is hardcoded to go to /tmp.
This can strain the resources of a LiveOSystem, where /tmp is on a tmpfs.
A clone option is being added to edit-livecd.py (see https://bugzilla.redhat.com/show_bug.cgi?id=448030#c27), where this feature will be significant for resource-limited Sugar on a Stick installations.
The tmpdir.patch, attached, has only been tested in the cloning code path of edit-liveos.py to remove the bind mount of /tmp onto an attached disc.
I fixed it up a bit to work with livecd-creator. Thanks for the patch.
livecd-tools-15.4-1.fc15 has been submitted as an update for Fedora 15.
livecd-tools-15.4-1.fc15 has been pushed to the Fedora 15 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update livecd-tools'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/livecd-tools-15.4-1.fc15
livecd-tools-15.5-1.fc15 has been submitted as an update for Fedora 15.
* should fix your issue,
* was pushed to the Fedora 15 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing raidem-0.3.1-14.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
Sorry about that; I was off by a line when I copy and pasted a bug number.
livecd-tools-15.5-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.