[Piuparts-devel] Bug#633033: piuparts: libeatmydata alternative
saschaefer at neurodiverse.org
Thu Jul 7 22:31:59 UTC 2011
Attached patch addresses TODO item re libeatmydata ..
"- use libeatmydata - either install it in all chroots or find a
better way to use it."
With Squeeze release, the version of dpkg in stable has had an option
"--force-unsafe-io" which, while it certainly does not disable ALL
fsync() calls, does disable some of them (sorry, that is extent of
So, while installing libeatmydata into chroot would be superior,
the attached patch provides for running dpkg with the ”force-unsafe-io”
option (whether directly or via apt) in the chroot.
I added a command-line option to allow the user to DISABLE
this behavior; i.e. the default is to use force-unsafe-io. If
the user specifies "--dpkg-noforce-unsafe-io" on piuparts
command line, dpkg runs as normal (safe, but slower).
Hopefully, the text of the option in piuparts --help, and in man
page is clear.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3619 bytes
Desc: not available
More information about the Piuparts-devel