search for: bin_script

Displaying 20 results from an estimated 23 matches for "bin_script".

Did you mean: bin_scripts
2014 Feb 26
2
Re: enable build for ocaml bytecode
...ECTS_opt = \ $(top_builddir)/mllib/libdir.cmx \ $(top_builddir)/mllib/common_gettext.cmx \ $(top_builddir)/mllib/common_utils.cmx \ @@ -66,6 +89,12 @@ OBJECTS = \ cmdline.cmx \ builder.cmx +if HAVE_OCAMLOPT +FINAL_BINARY = virt-builder.opt +else +FINAL_BINARY = virt-builder.bc +endif + bin_SCRIPTS = virt-builder # -I $(top_builddir)/src/.libs is a hack which forces corresponding -L @@ -73,7 +102,6 @@ bin_SCRIPTS = virt-builder # installed copy of libguestfs. OCAMLPACKAGES = \ -package str,unix \ - -I $(top_builddir)/src/.libs \ -I $(top_builddir)/ocaml \ -I $(top_builddir)/mllib...
2014 Feb 28
2
Re: enable build for ocaml bytecode
I believe this patch has now been superseded by Hilko's commit here: https://github.com/libguestfs/libguestfs/commit/f75142c577255b30f2a8e1d27baa5fd185594197 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
2014 Feb 28
6
[PATCH] Fix building on architectures where ocamlopt is not available
...= \ +deps = \ $(top_builddir)/mllib/libdir.cmx \ $(top_builddir)/mllib/common_gettext.cmx \ $(top_builddir)/mllib/common_utils.cmx \ @@ -109,6 +109,12 @@ OBJECTS = \ cmdline.cmx \ builder.cmx +if HAVE_OCAMLOPT +OBJECTS = $(deps) +else +OBJECTS = $(patsubst %.cmx,%.cmo,$(deps)) +endif + bin_SCRIPTS = virt-builder # -I $(top_builddir)/src/.libs is a hack which forces corresponding -L @@ -134,12 +140,22 @@ OCAMLCLIBS = \ -pthread -lpthread \ -lncurses -lcrypt +if HAVE_OCAMLOPT virt-builder: $(OBJECTS) $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) \ mlguestfs.cmxa -linkpkg $^ \ -c...
2013 Jan 14
3
enable build for ocaml bytecode
This is a first attempt to build libguestfs with just a ocaml bytecode compiler. The three tools written in ocaml will be build only when an ocamlopt compiler is available. Olaf --- Makefile.am | 5 ++++- configure.ac | 2 ++ ocaml/Makefile.am | 20 +++++++++++++++++--- resize/Makefile.am | 2 +- sparsify/Makefile.am | 2 +- sysprep/Makefile.am | 2 +- 6
2008 Apr 22
0
Reasons for nut-2.2.2-pre3 package
...is a major one and I think this alone warrants a -pre3. I'll fix this later today in the trunk and Testing. Second (minor) problem I found is in the development stuff. In 'lib/Makefile.am' we have this: if WITH_DEV if WITH_PKG_CONFIG pkgconfig_DATA = libupsclient.pc else bin_SCRIPTS = libupsclient-config endif endif but in 'man/Makefile.am' we have the following: if WITH_PKG_CONFIG LIB_PAGES += libupsclient-config.1 endif So effectively, we'll only include the manual page if we don't include the 'libupsclient-config' script (and vice-ver...
2009 Sep 23
2
[PATCH] New tool: virt-edit
This adds a virt-edit command. This is already possible using guestfish: guestfish -i domain ><fs> vi /some/file but having a special command to do it makes the operation more obvious and easier. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages.
2012 Jan 23
3
Some more fixes from building libguestfs for Debian
Here are two more patches that I had missed before.
2007 Aug 07
1
pkgconfig fix for nut
...ith-hotplug-dir=PATH], [where to install hotplug rules (/etc/hotplug)]), --- lib/Makefile.am +++ lib/Makefile.am @@ -1,8 +1,7 @@ # Network UPS Tools: lib if WITH_LIB -if WITH_PKG_CONFIG - pkgcfg_DATA = libupsclient.pc -endif +pkgconfig_DATA = libupsclient.pc +pkgconfigdir = $(libdir)/pkgconfig bin_SCRIPTS = libupsclient-config endif --- lib/libupsclient-config.in +++ lib/libupsclient-config.in @@ -10,8 +10,8 @@ Version="@PACKAGE_VERSION@" prefix=@prefix@ exec_prefix=@exec_prefix@ -Libs="-L at libdir@ -lupsclient @SSL_LDFLAGS@" -Cflags="-I at includedir@ @SSL_CFLAGS@&quo...
2017 Mar 21
0
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
...CES = \ main.c \ nbd.c \ p2v.h \ + rtc.c \ ssh.c \ utils.c \ whole-file.c @@ -112,7 +113,8 @@ virt_p2v_LDADD = \ $(LIBXML2_LIBS) \ $(GTK_LIBS) \ $(DBUS_LIBS) \ - ../gnulib/lib/libgnu.la + ../gnulib/lib/libgnu.la \ + -lm # Scripts to build the disk image, USB key, or kickstart. bin_SCRIPTS = virt-p2v-make-disk virt-p2v-make-kickstart virt-p2v-make-kiwi diff --git a/p2v/config.c b/p2v/config.c index 982017a6d..2b376c117 100644 --- a/p2v/config.c +++ b/p2v/config.c @@ -152,6 +152,19 @@ print_config (struct config *config, FILE *fp) config->cpu.acpi ? " acpi" :...
2016 Jun 22
4
[PATCH v2 0/4] virt-p2v support for openSUSE / SLES
Diff to v1: * Use access rather than stat in gui.c * Remove now uneeded and missplaced include for stat.h Cédric Bosdonnat (4): p2v: use yast2 lan on SUSE distros rather than NM p2v: fix dependencies for SLES / openSUSE p2v: add virt-p2v-make-kiwi to generate kiwi config p2v: add -x option to nm-online .gitignore | 3 + configure.ac | 2 +
2016 Jun 22
5
[PATCH v3 0/4] virt-p2v support for openSUSE / SLES
Diff to v2: * remove leftover variable declaration in gui.c Cédric Bosdonnat (4): p2v: use yast2 lan on SUSE distros rather than NM p2v: fix dependencies for SLES / openSUSE p2v: add virt-p2v-make-kiwi to generate kiwi config p2v: add -x option to nm-online .gitignore | 3 + configure.ac | 2 + p2v/Makefile.am | 31 +++++-
2017 Mar 21
2
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
Unlike the <cpu> node (see the other thread on the libguestfs ML), reading the Real Time Clock doesn't require libvirt and does work :-) For reference, read: https://libvirt.org/formatdomain.html#elementsTime https://en.wikipedia.org/wiki/Time_zone To test this you can run virt-p2v under qemu with a RTC offset: make -C p2v \ run-virt-p2v-in-a-vm \
2016 Jun 22
8
[PATCH 0/4] virt-p2v support for openSUSE / SLES
Hi there, Here are a few patches to get virt-p2v working on openSUSE and SLES. Note that I intentionnaly use icewm and yast2 lan for SLES and openSUSE since SLES doesn't ship metacity and all of NetworkManager pieces. Cédric Bosdonnat (4): p2v: use yast2 lan on SUSE distros rather than NM p2v: fix dependencies for SLES / openSUSE p2v: add virt-p2v-make-kiwi to generate kiwi config
2019 Jul 03
7
[PATCH 0/6] p2v: make it more independent (part #2)
As preliminary steps in splitting virt-p2v to an own repository, continue making p2v more independent within libguestfs. This is accomplished by the following changes: - have only the authors in the about dialog, and read them from a local AUTHORS file - few more cleanups This is still not complete, although I believe most of the work needed is done, and it still makes p2v usable within
2019 Jul 01
0
[PATCH 1/6] p2v: move kernel config to perl script
...tils \ @@ -127,6 +130,9 @@ virt_p2v_LDADD = \ ../gnulib/lib/libgnu.la \ -lm +$(generated_sources): $(srcdir)/generate-p2v-config.pl + $(AM_V_GEN)rm -f $@ $@-t && $(PERL) $(<) --file=$@ --output=$@-t && mv $@-t $@ + # Scripts to build the disk image, USB key, or kickstart. bin_SCRIPTS = virt-p2v-make-disk virt-p2v-make-kickstart virt-p2v-make-kiwi diff --git a/p2v/generate-p2v-config.pl b/p2v/generate-p2v-config.pl new file mode 100755 index 000000000..dc36abbda --- /dev/null +++ b/p2v/generate-p2v-config.pl @@ -0,0 +1,649 @@ +#!/usr/bin/env perl +# Copyright (C) 2019 Red Hat...
2016 Jan 04
3
[PATCH 0/3] podwrapper: Generate consistent WARNING sections (RHBZ#1293527).
Fix for: https://bugzilla.redhat.com/show_bug.cgi?id=1293527 Note that patches 2/3 and 3/3 are dependent on each other, ie. applying 2/3 on its own will break the build. So I may combine these when applying the series. Rich.
2012 Mar 31
3
[PATCH (incomplete)] Rewrite virt-sysprep in OCaml.
This patch is incomplete but it illustrates the idea. virt-sysprep is rewritten as a modular tool in OCaml. Only the 'utmp' and 'hostname' operations are implemented at the moment. Rich.
2012 Apr 30
5
[PATCH 0/4 v1] Remove gettextify, implement OCaml gettext.
Version 1 of the patch, for discussion, but not to be applied. It does work, but needs a lot more testing. This removes all the psychopathic gettextify cruft, and replaces it with a 99 line Makefile.am. A large win, I think. The third patch implements gettext support in the OCaml tools. The fourth patch is just for illustration. It shows the consequent changes to libguestfs.pot and the po
2012 Jul 03
8
[PATCH 0/7 v2] Fix and workaround for qcow2 issues in qemu causing data corruption.
https://bugzilla.redhat.com/show_bug.cgi?id=836710 https://bugzilla.redhat.com/show_bug.cgi?id=836913 There are at least two related bugs going on: (1) Linux sync(2) system call doesn't send a write barrier to the disk, so in effect it doesn't force the hard disk to flush its cache. libguestfs used sync(2) to force changes to disk. We didn't expect that qemu was caching anything
2019 Jul 01
8
[PATCH 0/6] p2v: start making it independent
As preliminary steps in splitting virt-p2v to an own repository, start making p2v more independent within libguestfs. This is accomplished by the following changes: - generate the p2v kernel config sources & docs at build time using a Perl script, rather than the generator (so no need for OCaml when building from git, and no generated sources in dist tarballs) - create two local test