Displaying 20 results from an estimated 90000 matches similar to: "Handling different architectures in virt-builder"
2015 Sep 08
5
[PATCH 0/2] virt-builder OpenSUSE images
Hi guys,
Here are two patches to get opensuse images in virt-builder.
Cédric Bosdonnat (2):
Allow curl to follow redirects.
builder: add opensuse images sources
builder/Makefile.am | 3 ++-
builder/downloader.ml | 4 ++--
builder/opensuse.conf.in | 3 +++
builder/opensuse.gpg | 21 +++++++++++++++++++++
configure.ac | 1 +
5 files changed, 29 insertions(+), 3
2014 Mar 11
4
Re: [PATCH] builder: complete architecture handling
On Tuesday 11 March 2014 10:09:45 Richard W.M. Jones wrote:
> On Mon, Mar 10, 2014 at 02:28:20PM +0100, Pino Toscano wrote:
> > Add the possibility to choose which architecture use to build the
> > wanted image (--arch). Since this implies that running commands on
> > the guest is usually not possible when the architecture is
> > different than the host one, another new
2015 Sep 29
4
[PATCH v2 1/2] builder: add opensuse images sources
---
builder/Makefile.am | 3 ++-
builder/opensuse.conf.in | 3 +++
builder/opensuse.gpg | 21 +++++++++++++++++++++
configure.ac | 1 +
4 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 builder/opensuse.conf.in
create mode 100644 builder/opensuse.gpg
diff --git a/builder/Makefile.am b/builder/Makefile.am
index 4bed54c..e8f8dfb 100644
---
2014 Feb 21
2
[PATCH] builder: add an arch field to sources read from indexes
Add an architecture field for all the entries in each index, so we know
which architecture they are (not used right now, but will be in the
future).
The problematic part here is properly marking with the correct
architecture: since we only know the current index on libguestfs.org
contains x86_64/amd64 images, entries coming from it are marked that
way; images in all the other indexes
2017 Nov 21
4
Re: virt-builder resize error
On Tue, Nov 21, 2017 at 3:55 AM, Pino Toscano <ptoscano@redhat.com> wrote:
> Hi,
>
> On Monday, 20 November 2017 22:57:04 CET David Kaylor wrote:
> > I was trying out virt-builder and noticed that in some directories I
> > receive an error when the image is resized.
> >
> > For example, if I run the following command from my home directory it
> works
>
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 Jun 11
2
Xen drivers for virt-builder images
I've just been playing around with virt-builder, and it seems like a
pretty useful tool. However, it seems that in a number of the images,
the initrd file is missing drivers for Xen virtual block and network
devices. This results in a VM that can't find its root device.
The files needed are drivers/block/xen-blkfront.ko and
drivers/net/xen-netfront.ko. They seem to be present in
2013 Dec 06
2
[PATCH] builder: adapt test-virt-builder-list.sh output expectation
ee0e56f43e55307fefa1d04505ed6477d604d220 slightly changes the output of
--list but test-virt-builder-list.sh has not been updated accordingly.
Adapting the expected output makes test-virt-builder-list.sh pass again.
---
builder/test-virt-builder-list.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/builder/test-virt-builder-list.sh
2017 Nov 20
2
virt-builder resize error
Hi,
I was trying out virt-builder and noticed that in some directories I
receive an error when the image is resized.
For example, if I run the following command from my home directory it works
fine:
virt-builder rhel-7.4 --size 10G --output test.img
If I run the same command from /tmp or /vms (my default libvirt pool), I
see the following in my verbose output:
virt-resize '--verbose'
2017 Sep 18
11
[PATCH v9 0/7] virt-builder-repository
Hi there,
Diffs to v8:
* Remove the regex to increment the revision: Index_parser.get_entry()
only handles integers
* Fix Pino's comments
Cédric Bosdonnat (6):
builder: rename docs test script
builder: add a template parameter to get_index
builder: add Index.write_entry function
mllib: add XPath helper xpath_get_nodes()
builder: remove useless fish dependency
New tool:
2014 Apr 03
5
[PATCH 0/3] builder: Add test of virt-index-validate.
Somewhat ineffective test of virt-index-validate.
2015 Dec 29
2
Re: RFE: virt-builder ability to print definition for single template (new option or expand --notes) (#20)
On Mon, Dec 28, 2015 at 03:51:51PM -0800, Ryan Sawhill Aroha wrote:
> The `virt-builder --notes <TEMPLATE>` command is nice, but I really wish it printed the full template definition, eg, something like this:
>
> ```
> $ virt-builder --notes centos-70
>
> [centos-70]
> name=CentOS 70
> osinfo=centos70
> arch=x86_64
> file=centos-70xz
>
2018 Dec 06
3
[PATCH 1/2] builder: Fix redirect in virt-builder configuration.
For a while libguestfs.org/builder has redirected to
builder.libguestfs.org. This change just makes virt-builder go direct
to the subsite instead of via the redirect.
---
builder/libguestfs.conf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builder/libguestfs.conf.in b/builder/libguestfs.conf.in
index 633a0abaf..3b9e3854f 100644
--- a/builder/libguestfs.conf.in
+++
2014 Mar 10
2
[PATCH] builder: complete architecture handling
Add the possibility to choose which architecture use to build the wanted
image (--arch). Since this implies that running commands on the guest is
usually not possible when the architecture is different than the host
one, another new option (--allow-foreign-arch-ops) allows to run
commands nevertheless.
The caching scheme is adapted to account for the architecture (with
--print-cache showing the
2016 Apr 20
2
virt-builder and SimpleStreams
Pino, do you remember what the missing data was that prevents
virt-builder from working properly with SimpleStreams?
IIRC it was the target (expanded) size of the image, as it means we
don't know during the planning stage if we will need to resize the
image.
CentOS may start to publish this data, but we will need to ask
Karanbir to add the extra data we need in JSON field(s).
Rich.
--
2017 Oct 04
2
Re: [PATCH v2 2/2] builder: Choose better weights in the planner.
On Tuesday, 3 October 2017 14:24:14 CEST Richard W.M. Jones wrote:
> ---
> builder/builder.ml | 84 +++++++++++++++++++++++++++++++++----------
Cannot comment on the actual logic in the planner, since I admit I did
not have an in-depth look at it.
> diff --git a/common/mlutils/unix_utils-c.c b/common/mlutils/unix_utils-c.c
> index 657852ef2..340fdec44 100644
> ---
2014 May 26
2
[PATCH] builder: support aliases for images (RHBZ#1098718).
---
builder/builder.ml | 12 ++++++++++++
builder/index_parser.ml | 16 ++++++++++++++++
builder/index_parser.mli | 4 ++++
builder/list_entries.ml | 17 +++++++++++++++++
builder/virt-builder.pod | 8 ++++++++
5 files changed, 57 insertions(+)
diff --git a/builder/builder.ml b/builder/builder.ml
index a0ef6d7..c317816 100644
--- a/builder/builder.ml
+++ b/builder/builder.ml
@@ -192,6
2017 Nov 07
1
Re: [PATCH] builder: templates: For RHEL, CentOS >= 7 and all Fedora, default to GPT.
On Tuesday, 17 October 2017 17:35:51 CET Richard W.M. Jones wrote:
> The immediate issue is with Fedora/ppc64 and /ppc64le which currently
> use extended partitions, breaking the virt-builder ‘--size’ parameter,
> eg:
>
> $ virt-builder --arch ppc64le fedora-26 --size 20G
> ...
> [ 21.6] Resizing (using virt-resize) to expand the disk to 20.0G
> virt-resize:
2014 Feb 27
2
Re: [PATCH 5/8] builder: switch sources to .conf files
On Tue, Feb 25, 2014 at 05:29:10PM +0100, Pino Toscano wrote:
> Introduce and use simple .conf files to configure the sources of indexes
> for virt-builder. The location of these files is in XDG_CONFIG_DIRS /
> XDG_CONFIG_HOME, so it can be easily overridden.
>
> There are three .conf(.in) files shipped with this commit:
> - "test-index.conf.in" (in
2020 Mar 11
1
[PATCH] builder: templates: add the AppStream repo
It is generally used together with BaseOS (which contains a restricted
set of packages), so add it to the preconfigured repositories by
default.
---
builder/templates/make-template.ml | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
diff --git a/builder/templates/make-template.ml b/builder/templates/make-template.ml
index 8d26177bf..a4e2f37fb 100755
---