On Thu, Jul 27, 2017 at 04:58:52PM +0200, Pino Toscano wrote:
Hi Olaf and Cédric,
On Monday, 24 July 2017 18:10:12 CEST Richard W.M. Jones wrote:
Replace GUESTFSD_EXT_CMD with a command line option ‘./guestfsd --print-external-commands’
This mini-series basically changes the way external programs used in the appliance are collected; this was done 5 years ago (!) as commit 0306c98d319d189281af3c15101c8d343e400f13, to help the creation of appliances in SUSE.
Is this mechanism still used there? If so, is the approach done by Rich acceptable for you? What are your use cases/constraints/etc?
It is used: https://build.opensuse.org/package/view_file/openSUSE:Factory/libguestfs/lib... But as far as I can tell there's no barrier to replacing that objcopy command with the [simpler] command: $RPM_BUILD_ROOT/usr/sbin/guestfsd --print-external-commands Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW