mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
p2v: Set LD_LIBRARY_PATH for "remote" virt-v2v process.
In previous commitc5f12e47e4we changed the PATH environment variable to run the locally built virt-v2v, not the system-installed virt-v2v. However this meant that we were running the locally built virt-v2v against the system-installed libguestfs.so.0. We also need to set LD_LIBRARY_PATH. Fixes commitc5f12e47e4.
This commit is contained in:
@@ -298,7 +298,7 @@ test-virt-p2v-pxe.sshd_config: test-virt-p2v-pxe.sshd_config.in
|
||||
|
||||
test-virt-p2v-pxe.authorized_keys: test-virt-p2v-pxe.id_rsa.pub $(top_builddir)/run
|
||||
rm -f $@ $@-t
|
||||
$(top_builddir)/run sh -c 'echo -n environment=\"PATH=$$PATH\"\ ' > $@-t
|
||||
$(top_builddir)/run sh -c 'echo -n environment=\"PATH=$$PATH\",environment=\"LD_LIBRARY_PATH=$(abs_top_builddir)/src/.libs\"\ ' > $@-t
|
||||
cat $< >> $@-t
|
||||
mv $@-t $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user