search for: libguestfs_path

Displaying 20 results from an estimated 144 matches for "libguestfs_path".

2013 May 19
1
[PATCH] run: Don't fail on missing LIBGUESTFS_PATH if --disable-appliance
Set LIBGUESTFS_PATH to the default value compiled into and output a warning to STDERR, instead. The previous behavior caused the build to abort when trying to build the sysprep documentation -- without much of a hint of what went wrong. When LIBGUESTFS_PATH was not set, test-events.sh would fail. --- run.in | 8...
2013 May 17
1
[PATCH] run: Turn error message about missing LIBGUESTFS_PATH into warning; output to STDERR
...n.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/run.in b/run.in index 7545f0b..9f92306 100755 --- a/run.in +++ b/run.in @@ -66,9 +66,10 @@ chcon --reference=/tmp tmp 2>/dev/null ||: if [ "x at ENABLE_APPLIANCE@" = "xyes" ]; then export LIBGUESTFS_PATH="$b/appliance" elif [ -z "$LIBGUESTFS_PATH" ]; then - echo "run: error: You used './configure --disable-appliance' so you must put an" - echo "run: error: appliance somewhere and set LIBGUESTFS_PATH to point to it." - exit 1 + cat <&lt...
2012 Jan 10
1
[PATCH] Prepend local library path to LD_LIBRARY_PATH for tests, instead of replacing it
.../align/Makefile.am @@ -72,7 +72,7 @@ stamp-virt-alignment-scan.pod: virt-alignment-scan.pod # TESTS_ENVIRONMENT = \ # MALLOC_PERTURB_=$(random_val) \ -# LD_LIBRARY_PATH=$(top_builddir)/src/.libs \ +# LD_LIBRARY_PATH=$(top_builddir)/src/.libs${if ${LD_LIBRARY_PATH},:${LD_LIBRARY_PATH},} \ # LIBGUESTFS_PATH=$(top_builddir)/appliance \ # TMPDIR=$(top_builddir) diff --git a/cat/Makefile.am b/cat/Makefile.am index 3180b26..2a42954 100644 --- a/cat/Makefile.am +++ b/cat/Makefile.am @@ -132,7 +132,7 @@ random_val := $(shell awk 'BEGIN{srand(); print 1+int(255*rand())}' < /dev/null) TESTS_...
2020 May 05
1
LIBGUESTFS_PATH is broken in Fedora Rawhide
$ libguestfs-test-tool ... libguestfs: launch: version=1.42.0fedora=33,release=5.fc33,libvirt ... libguestfs: build appliance libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib/guestfs) ... It appears that this configure test is now failing: https://github.com/libguestfs/libguestfs/blob/26324d54457d49bec19c1a3ba454a415d467d3e8/m4/guestfs-appliance.m4#L128 ... but at the moment I do not understand why. Rich. -- Richard Jones, Virtualization Gro...
2012 Jan 20
8
Various fixes from building libguestfs for Debian
Here are some of the patches that I have maintained in the patch queue of my packages that I maintain within the Debian distribution (http://packages.qa.debian.org/libg/libguestfs.html). All of them address FTBFS (fail to build from source) errors that happened with the particular configuration that is used for building the Debian package. Cheers, -Hilko
2011 Nov 23
1
[PATCH] run script: Don't overwrite LD_LIBRARY_PATH and PERL5LIB
...nged, 13 insertions(+), 3 deletions(-) diff --git a/run.in b/run.in index 9388398..7cef715 100755 --- a/run.in +++ b/run.in @@ -37,9 +37,19 @@ b=@abs_builddir@ export TMPDIR="$b" # Set local environment relative to this script. -export LD_LIBRARY_PATH="$b/src/.libs" -export LIBGUESTFS_PATH="$b/appliance" -export PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch" +if [ -z "$LD_LIBRARY_PATH" ]; then + LD_LIBRARY_PATH="$b/src/.libs" +else + LD_LIBRARY_PATH="$b/src/.libs:$LD_LIBRARY_PATH" +fi +if [ -z "$PERL5LIB" ]; then + PERL5LI...
2017 Jul 28
2
cannot find any suitable libguestfs supermin
...ed to build libguestfs in my own linux distro and I followd the http://libguestfs.org/guestfs-building.1.html#using-a-prebuilt-binary-appliance to replace with supermin I download the appliance-1.30.1.tar.xz and appliance-1.30.1.tar.xz.sig and extract the tarball to /home/user/appliance and export LIBGUESTFS_PATH=/*home/user/appliance* Then I build libguestfs below: > ./autogen.sh --disable-appliance --disable-daemon > make make install DESTDIR=/tmp It builds fine. And guestfish version is 1.37.18 But I got error when I execute guestfish: > guestfish > add --rw disk.qcow2 > run > e...
2017 Apr 25
0
Re: [PATCH] appliance: reorder the steps to search for appliance
...ocumentation: > >> > >>"If the fixed appliance is found, libguestfs skips supermin entirely > >> and just runs qemu with the kernel, initrd and root disk from the > >> fixed appliance." > > > >Does anyone rely on the path-like behaviour of LIBGUESTFS_PATH? It > >was a mistake to allow that originally, but we're stuck with it now > >unfortunately. > > Sorry, but I don't understand what you mean. What is > "path-like behaviour"? What is the mistake ? The mistake is to use the > location of supermin.d directo...
2013 Oct 17
2
Re: Notes on getting libguestfs to work on Mac OS X
...-disable-ruby --disable-php CFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" LIBS="-lintl" FUSE_CFLAGS="-I/usr/local/include/osxfuse/fuse -D_FILE_OFFSET_BITS=64" FUSE_LIBS="-losxfuse" make, test & install: --------------------- - make - LIBGUESTFS_PATH=/usr/local/lib/guestfs/appliance make quickcheck - sudo make install use: ---- - LIBGUESTFS_PATH=/usr/local/lib/guestfs/appliance guestfish or - LIBGUESTFS_PATH=/usr/local/lib/guestfs/appliance guestmount ---------------------------------------------------------------------- -- Richard Jones, Vi...
2015 Jun 10
2
[PATCH] Improve fixed appliance documentation
...rg/download/binaries/appliance/>. These @@ -120,30 +120,6 @@ completely silent when it is running. =back -=head1 FIXED APPLIANCE - -When libguestfs (or libguestfs tools) are run, they search a path -looking for an appliance. The path is built into libguestfs, or can -be set using the C<LIBGUESTFS_PATH> environment variable. - -Normally a supermin appliance is located on this path (see -L<supermin(1)/SUPERMIN APPLIANCE>). libguestfs reconstructs this -into a full appliance by running C<supermin --build>. - -However, a simpler "fixed appliance" can also be used. libguest...
2014 Dec 05
1
Re: virt-df error, help
...min helper [00000ms] initrd = (none) supermin helper [00000ms] appliance = (none) libguestfs: checksum of existing appliance: libguestfs: warning: supermin-helper -f checksum returned a short string libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib/guestfs) libguestfs: trace: launch = -1 (error) libguestfs-test-tool: failed to launch appliance libguestfs: trace: close libguestfs: closing guestfs handle 0x6ac130 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsIyeuW7 when I r...
2017 Apr 25
0
Re: [PATCH] appliance: reorder the steps to search for appliance
On Tue, Apr 25, 2017 at 06:13:37PM +0300, Pavel Butsykin wrote: > On 25.04.2017 16:04, Richard W.M. Jones wrote: > >Can you see what: > > > > guestfish get-path > > /usr/lib64/guestfs > > >prints? Are you setting LIBGUESTFS_PATH at all? > > > > No. > > # ls /usr/lib64/guestfs > initrd kernel README.fixed root supermin.d > > libguestfs by default uses a single path to search fixed appliance and > supermin.d. It seemed to me that the presence of options "--disable > appliance --di...
2012 Sep 26
4
guestfish hang when exec command.
...* kernel * initrd * root * README.fixed into a directory somewhere, eg. /usr/local/lib/guestfs/appliance/ Then build libguestfs (>= 1.16.7 or >= 1.17.10) from source, disabling the normal appliance and daemon: ./configure --disable-appliance --disable-daemon make make install Set LIBGUESTFS_PATH to the path where you unpacked these files, eg: export LIBGUESTFS_PATH=/usr/local/lib/guestfs/appliance/ then executed command: virt-copy-out -d GuestName 'win:c:\windows\system32\config' . the command hang here. Is there something going wrong? give me some help, thanks! xuanmao_00...
2014 Dec 04
2
Re: virt-df error, help
...gt; I run command as example: " virt-df -d `virsh domuuid 5`" > some errors show : > libguestfs: warning: supermin-helper -f checksum returned a short string > libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib/guestfs) > > when I run this command as root , the result is correct , > but I must run the command as not-root, so , how can I do ?, please help , thanks! Enable debugging: http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs Pr...
2015 Jun 10
0
[PATCH v2] Improve fixed appliance documentation
...rg/download/binaries/appliance/>. These @@ -120,30 +120,6 @@ completely silent when it is running. =back -=head1 FIXED APPLIANCE - -When libguestfs (or libguestfs tools) are run, they search a path -looking for an appliance. The path is built into libguestfs, or can -be set using the C<LIBGUESTFS_PATH> environment variable. - -Normally a supermin appliance is located on this path (see -L<supermin(1)/SUPERMIN APPLIANCE>). libguestfs reconstructs this -into a full appliance by running C<supermin --build>. - -However, a simpler "fixed appliance" can also be used. libguest...
2015 Jun 16
1
[PATCH v3] Improve fixed appliance documentation
...rg/download/binaries/appliance/>. These @@ -120,30 +120,6 @@ completely silent when it is running. =back -=head1 FIXED APPLIANCE - -When libguestfs (or libguestfs tools) are run, they search a path -looking for an appliance. The path is built into libguestfs, or can -be set using the C<LIBGUESTFS_PATH> environment variable. - -Normally a supermin appliance is located on this path (see -L<supermin(1)/SUPERMIN APPLIANCE>). libguestfs reconstructs this -into a full appliance by running C<supermin --build>. - -However, a simpler "fixed appliance" can also be used. libguest...
2014 Nov 11
2
Re: Add support for slackware in supermin
...hand, this does not imply you cannot use libguestfs: with a > driver-less supermin, you can build libguestfs without an appliance > (--disable-appliance), and use a "fixed appliance", i.e. an appliance > built on a different system, pointing libguestfs to it. See also > "LIBGUESTFS_PATH" in > http://libguestfs.org/guestfs.3.html#environment-variables > and you can find our Fedora-based appliances here: > http://libguestfs.org/download/binaries/appliance/ > > -- > Pino Toscano Sorry for the top posting, it's the default gmail app behavior. It didn...
2017 Apr 25
0
Re: [PATCH] appliance: reorder the steps to search for appliance
...r fixed/supermin > appliance in accordance with documentation: > > "If the fixed appliance is found, libguestfs skips supermin entirely > and just runs qemu with the kernel, initrd and root disk from the > fixed appliance." Does anyone rely on the path-like behaviour of LIBGUESTFS_PATH? It was a mistake to allow that originally, but we're stuck with it now unfortunately. > Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com> > --- > lib/appliance.c | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/...
2017 Apr 27
0
Re: [PATCH] appliance: reorder the steps to search for appliance
On Thu, Apr 27, 2017 at 03:54:44PM +0300, Pavel Butsykin wrote: [...] > >(2) If the fixed appliance was located somewhere else, you could do: > > > > LIBGUESTFS_PATH=/path/to/somewhere/else:/usr/lib64/guestfs > > export LIBGUESTFS_PATH > > > >and then it would look for the fixed appliance in > >/path/to/somewhere/else and use it. If the fixed appliance exists > >there, then it would never check /usr/lib64/guestfs. > > It&...
2017 Jul 28
0
Re: cannot find any suitable libguestfs supermin
On Fri, Jul 28, 2017 at 11:34:38PM +0800, lampahome wrote: > > guestfish > > add --rw disk.qcow2 > > run > > error: libguestfs: error: cannot find any suitable libguestfs supermin, > > fixed or old-style appliance on LIBGUESTFS_PATH > > > But I echo $LIBGUESTFS_PATH, it's */home/user/appliance* > > I don't know how come going wrong You need to download this appliance: http://download.libguestfs.org/binaries/appliance/appliance-1.36.1.tar.xz and unpack it under /home/user/appliance/ . Directly in...