search for: virt_builder_source

Displaying 20 results from an estimated 41 matches for "virt_builder_source".

2013 Dec 07
2
[PATCH 1/2] Fix installing man-pages from out-of-tree build
--- po-docs/ja/Makefile.am | 6 +++--- po-docs/uk/Makefile.am | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/po-docs/ja/Makefile.am b/po-docs/ja/Makefile.am index da1bcc3..820f91a 100644 --- a/po-docs/ja/Makefile.am +++ b/po-docs/ja/Makefile.am @@ -160,8 +160,8 @@ $(podfiles): # XXX Can automake do this properly? install-data-hook: $(MKDIR_P)
2014 Feb 21
2
[PATCH] builder: add an arch field to sources read from indexes
...function | 0 -> [] | 1 -> [x] | n -> x :: repeat x (n-1) in - let sources = - if sources <> [] then sources + let sources, indexarch = + if sources <> [] then sources, "@same" else ( - try list_split (Sys.getenv "VIRT_BUILDER_SOURCE") - with Not_found -> [ default_source ] + try list_split (Sys.getenv "VIRT_BUILDER_SOURCE"), "@same" + with Not_found -> [ default_source ], default_source_architecture ) in let fingerprints = if fingerprints <> [] then f...
2013 Dec 07
0
[PATCH 2/2] Fix virt-builder tests for out-of-tree build
...it a/builder/test-virt-builder-list.sh b/builder/test-virt-builder-list.sh index 11305a9..ff16abe 100755 --- a/builder/test-virt-builder-list.sh +++ b/builder/test-virt-builder-list.sh @@ -21,9 +21,9 @@ export LANG=C set -e -abs_srcdir=$(cd $srcdir && pwd) +abs_builddir=$(pwd) -export VIRT_BUILDER_SOURCE=file://$abs_srcdir/test-index +export VIRT_BUILDER_SOURCE=file://$abs_builddir/test-index short_list=$($VG ./virt-builder --no-check-signature --no-cache --list) diff --git a/builder/test-virt-builder.sh b/builder/test-virt-builder.sh index 6296d16..438f2e9 100755 --- a/builder/test-virt-build...
2014 Feb 25
12
[PATCH 0/8] virt-builder: use .conf files for configuration
...Toscano (8): builder: allow "no key" as key in Sigchecker builder: use Sigchecker.gpgkey_type for the fingerprint builder: add functions to read XDG_CONFIG_DIRS and XDG_CONFIG_PATH builder: extract the default key to file builder: switch sources to .conf files builder: remove VIRT_BUILDER_SOURCE and VIRT_BUILDER_FINGERPRINT builder: remove the default fingerprint/pubkey builder: update documentation .gitignore | 3 + builder/Makefile.am | 10 +- builder/builder.ml | 19 ++- buil...
2013 Nov 07
2
Re: Kernel panic with virt-builder etc.
...d +x localconfigure ./localconfigure make -C po-docs update-po make make quickcheck # check it works * Run virt-builder against the public repo: # Have to set the environment variable because the ./run script # by default changes the virt-builder source: export VIRT_BUILDER_SOURCE=http://libguestfs.org/download/builder/index.asc ./run ./builder/virt-builder -l * Demonstration showing virt-builder building a Debian 6 image (template is cached, but this is all running inside a VM which is why it's slower than it would be on baremetal): $ ./run ./builder/virt-builde...
2013 Oct 25
1
Re: virt-builder looks AWESOME!
On Fri, Oct 25, 2013 at 01:14:04PM -0700, Scott Baker wrote: > On 10/25/2013 12:56 PM, Richard W.M. Jones wrote: > > F20 - it's in the beta now (as of yesterday). > > > > Rich. > > Wow this has a lot of dependencies :) Two questions... Let's put this on the mailing list so others can help. > Do I need OCaml installed? > Where does guestfs_protocol.x come
2019 May 28
1
[PATCH] build: build C sources using OCaml API with CAML_NAME_SPACE
...| 1 + v2v/Makefile.am | 2 ++ 12 files changed, 15 insertions(+) diff --git a/builder/Makefile.am b/builder/Makefile.am index b564fadd6..c7caec5cb 100644 --- a/builder/Makefile.am +++ b/builder/Makefile.am @@ -135,6 +135,7 @@ bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ + -DCAML_NAME_SPACE \ -I$(builddir) -I$(srcdir) \ -I$(top_builddir) \ -I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \ @@ -156,6 +157,7 @@ XOBJECTS = $(BOBJECTS:.cmo=.cmx) virt_builder_repository_SOURCES = $(REPOSITORY_SOURCES_C) virt_bu...
2013 Nov 07
0
Re: Kernel panic with virt-builder etc.
...make -C po-docs update-po > make > make quickcheck # check it works > > * Run virt-builder against the public repo: > > # Have to set the environment variable because the ./run script > # by default changes the virt-builder source: > export VIRT_BUILDER_SOURCE=http://libguestfs.org/download/builder/index.asc > ./run ./builder/virt-builder -l > > * Demonstration showing virt-builder building a Debian 6 image > (template is cached, but this is all running inside a VM which is > why it's slower than it would be on baremetal): >...
2013 Nov 07
2
Re: Kernel panic with virt-builder etc.
...ppliance-1.24.0.tar.xz | tar xvf - Set LIBGUESTFS_PATH to point to the appliance: export LIBGUESTFS_PATH=/tmp/appliance Recompile libguestfs without the appliance code: ./configure --disable-appliance --disable-daemon && make -j5 and you can run commands using the ./run script: export VIRT_BUILDER_SOURCE=http://libguestfs.org/download/builder/index.asc ./run ./builder/virt-builder -l ./run ./builder/virt-builder debian-6 [etc] Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows ins...
2013 Dec 06
2
[PATCH] builder: adapt test-virt-builder-list.sh output expectation
...er-list.sh b/builder/test-virt-builder-list.sh index 11305a9..ea4f561 100755 --- a/builder/test-virt-builder-list.sh +++ b/builder/test-virt-builder-list.sh @@ -41,7 +41,7 @@ long_list=$(./virt-builder --no-check-signature --no-cache --list --long) if [ "$long_list" != "Source URI: $VIRT_BUILDER_SOURCE Fingerprint: F777 4FB1 AD07 4A7E 8C87 67EA 9173 8F73 E1B7 68A0 -os-version: phony-debian +OS version: phony-debian Full name: Phony Debian Minimum/default size: 512.0M @@ -49,7 +49,7 @@ Notes: Phony Debian look-alike used for testing. -os-versi...
2013 Dec 04
4
[PATCH] builder: translate more user-visible strings
Translate also the "OS version" and "Notes" strings that appear in the --long output. --- builder/list_entries.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/list_entries.ml b/builder/list_entries.ml index 8c24fe2..a1d0696 100644 --- a/builder/list_entries.ml +++ b/builder/list_entries.ml @@ -47,7 +47,7 @@ let list_entries ?(list_long =
2014 Jan 16
0
[PATCH 3/3] builder: add a JSON output for --list
...or testing." ]; then echo "$long_list" exit 1 fi + +json_list=$(./virt-builder --no-check-signature --no-cache --list --list-format json) + +if [ "$json_list" != "{ + \"version\": 1, + \"sources\": [ + { + \"uri\": \"$VIRT_BUILDER_SOURCE\", + \"fingerprint\": \"F777 4FB1 AD07 4A7E 8C87 67EA 9173 8F73 E1B7 68A0\" + } + ], + \"templates\": [ + { + \"os-version\": \"phony-debian\", + \"full-name\": \"Phony Debian\", + \"size\": 5368709...
2018 Apr 09
2
[PATCH] Fix out-of-tree builds of OCaml components
...ess/Makefile.am | 2 +- 20 files changed, 44 insertions(+), 30 deletions(-) diff --git a/builder/Makefile.am b/builder/Makefile.am index a17a2aa6d6..c7b50778a1 100644 --- a/builder/Makefile.am +++ b/builder/Makefile.am @@ -142,11 +142,12 @@ bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ - -I. \ + -I$(builddir) -I$(srcdir) \ -I$(top_builddir) \ -I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \ -I$(shell $(OCAMLC) -where) \ -I$(top_srcdir)/gnulib/lib \ + -I$(top_builddir)/common/utils \ -I$(top_srcdir)/common/utils \ -I$...
2018 Apr 11
1
[PATCH] Fix out-of-tree builds of OCaml components
...rness/Makefile.am | 2 +- 20 files changed, 50 insertions(+), 30 deletions(-) diff --git a/builder/Makefile.am b/builder/Makefile.am index ceb3bce68..e5872bdd9 100644 --- a/builder/Makefile.am +++ b/builder/Makefile.am @@ -142,11 +142,12 @@ bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ - -I. \ + -I$(builddir) -I$(srcdir) \ -I$(top_builddir) \ -I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \ -I$(shell $(OCAMLC) -where) \ -I$(top_srcdir)/gnulib/lib \ + -I$(top_builddir)/common/utils \ -I$(top_srcdir)/common/utils \ -I$...
2014 Jan 16
5
[PATCH 0/3] Add JSON output for virt-builder
Hi, This small patch serie adds a JSON output for virt-builder. This way it is possible to parse the list of available templates, with no need to parse the unstructured and possibly changing short and long outputs of virt-builder. Pino Toscano (3): builder: small refactor of the list output builder: add --list-format builder: add a JSON output for --list builder/builder.ml
2017 Jan 03
0
[PATCH 5/5] Add a virt-builder-repository tool
...mli \ + sources.mli \ + yajl.mli + +REPOSITORY_SOURCES_C = \ + index-scan.c \ + index-struct.c \ + index-parse.c \ + index-parser-c.c \ + yajl-c.c + + man_MANS = noinst_DATA = bin_PROGRAMS = if HAVE_OCAML -bin_PROGRAMS += virt-builder +bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ @@ -306,6 +340,61 @@ depend: .depend -include .depend +# virt-builder repository creation tool + +bin_PROGRAMS += virt-builder-repository + +virt_builder_repository_SOURCES = $(REPOSITORY_SOURCES_C) +virt_builder_repository_CPPFLAGS = \ + -I. \ + -I$(...
2017 Mar 07
0
[PATCH v4 9/9] Add a virt-builder-repository tool
...mli \ + sources.mli \ + yajl.mli + +REPOSITORY_SOURCES_C = \ + index-scan.c \ + index-struct.c \ + index-parse.c \ + index-parser-c.c \ + yajl-c.c + + man_MANS = noinst_DATA = bin_PROGRAMS = if HAVE_OCAML -bin_PROGRAMS += virt-builder +bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ @@ -115,6 +149,26 @@ virt_builder_CFLAGS = \ BOBJECTS = $(SOURCES_ML:.ml=.cmo) XOBJECTS = $(BOBJECTS:.cmo=.cmx) +virt_builder_repository_SOURCES = $(REPOSITORY_SOURCES_C) +virt_builder_repository_CPPFLAGS = \ + -I. \ + -I$(top_builddir) \ + -I$(top_src...
2017 Mar 23
0
[PATCH v5 10/10] Add a virt-builder-repository tool
...mli \ + sources.mli \ + yajl.mli + +REPOSITORY_SOURCES_C = \ + index-scan.c \ + index-struct.c \ + index-parse.c \ + index-parser-c.c \ + yajl-c.c + + man_MANS = noinst_DATA = bin_PROGRAMS = if HAVE_OCAML -bin_PROGRAMS += virt-builder +bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ @@ -115,6 +149,26 @@ virt_builder_CFLAGS = \ BOBJECTS = $(SOURCES_ML:.ml=.cmo) XOBJECTS = $(BOBJECTS:.cmo=.cmx) +virt_builder_repository_SOURCES = $(REPOSITORY_SOURCES_C) +virt_builder_repository_CPPFLAGS = \ + -I. \ + -I$(top_builddir) \ + -I$(top_src...
2017 Feb 10
0
[PATCH v3 10/10] Add a virt-builder-repository tool
...mli \ + sources.mli \ + yajl.mli + +REPOSITORY_SOURCES_C = \ + index-scan.c \ + index-struct.c \ + index-parse.c \ + index-parser-c.c \ + yajl-c.c + + man_MANS = noinst_DATA = bin_PROGRAMS = if HAVE_OCAML -bin_PROGRAMS += virt-builder +bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ @@ -115,6 +149,26 @@ virt_builder_CFLAGS = \ BOBJECTS = $(SOURCES_ML:.ml=.cmo) XOBJECTS = $(BOBJECTS:.cmo=.cmx) +virt_builder_repository_SOURCES = $(REPOSITORY_SOURCES_C) +virt_builder_repository_CPPFLAGS = \ + -I. \ + -I$(top_builddir) \ + -I$(top_src...
2017 Apr 12
0
[PATCH v6 10/10] Add a virt-builder-repository tool
...mli \ + sources.mli \ + yajl.mli + +REPOSITORY_SOURCES_C = \ + index-scan.c \ + index-struct.c \ + index-parse.c \ + index-parser-c.c \ + yajl-c.c + + man_MANS = noinst_DATA = bin_PROGRAMS = if HAVE_OCAML -bin_PROGRAMS += virt-builder +bin_PROGRAMS += virt-builder virt-builder-repository virt_builder_SOURCES = $(SOURCES_C) virt_builder_CPPFLAGS = \ @@ -101,8 +135,7 @@ virt_builder_CPPFLAGS = \ -I$(shell $(OCAMLC) -where) \ -I$(top_srcdir)/gnulib/lib \ -I$(top_srcdir)/common/utils \ - -I$(top_srcdir)/lib \ - -I$(top_srcdir)/fish + -I$(top_srcdir)/lib virt_builder_CFLAGS = \ -pthread \ $(WAR...