Hi,
attached there is the second version of the patch series adding
copy_in and copy_out in the library, mostly moving them from guestfish.
It also adds the copy_in usage in virt-customize, as aid in a new image
building.
Thanks,
Pino Toscano (7):
cmd: add a way to run (and wait) asynchronously commands
cmd: add a child-setup callback
cmd: add the possibility to get a fd to the process stdin
generator: add VPublicNoFish visibility type
New APIs: copy-in and copy-out
fish: use copy-in and copy-out
customize: add copy-in operation (RHBZ#1135585).
builder/cmdline.ml | 2 +-
customize/customize_run.ml | 4 +
fish/copy.c | 279 +--------------------------------------------
generator/actions.ml | 34 +++++-
generator/c.ml | 2 +-
generator/customize.ml | 13 +++
generator/types.ml | 2 +
po/POTFILES | 1 +
src/Makefile.am | 1 +
src/command.c | 119 +++++++++++++++++--
src/copy-in-out.c | 250 ++++++++++++++++++++++++++++++++++++++++
src/guestfs-internal.h | 5 +
12 files changed, 423 insertions(+), 289 deletions(-)
create mode 100644 src/copy-in-out.c
--
1.9.3