[Fedora-livecd-list] [PATCH] cleanupDeleted and container_size - saves 5.5% output size on f7livecd-i686
Patrice Guay
patrice.guay at nanotechnologies.qc.ca
Fri Jul 20 13:00:55 UTC 2007
Douglas McClendon wrote:
> patch#2: add --cleanup-deleted flag
>
> Using this flag, about 25% is added to the build time, but any files
> that were created and deleted in the install_root during installation,
> will not result in wasted space on the resulting iso. This happens
> because of the nature of the filesystem living on a sparse file.
> Anecdotally, this could be used to respin the fedora7-livecd-i686,
> from its existing 700MB, to 664MB. Or more likely, add another 100MB
> or so of uncompressed software onto it.
>
> This is of even greater importance as people spin their own livecds,
> and do intensive things during the installation, that might cause even
> more wasted space.
>
> Also, this somewhat lays the foundation for a 'turboinstaller' that
> improves current liveinst efficiency by 10-25% (for cdrom vs usbflash
> respectively), as mentioned in bug 248082 (pending efficiency tests
> with extra device mapper layers)
>
> Please review. Any comments, suggestions, or criticisms are welcome.
> I still consider myself a relative novice when it comes to python.
>
My current spin of a live CD went from 731MB to 615MB using the
--cleanup-deleted flag. This allow me to put more stuff on the live CD
while I was previously thinking about what to remove.
Thanks,
--
Patrice Guay
More information about the Fedora-livecd-list
mailing list