Displaying 20 results from an estimated 1000 matches similar to: "[PATCH 1/2] inspection: Set package manager to "unknown" if parsing major version failed (RHBZ#1332025)."
2016 May 04
1
Re: [PATCH 2/2] customize: Improve the error messages when package manager is unknown or unsupported.
On Wednesday 04 May 2016 14:12:30 Richard W.M. Jones wrote:
> For Windows, we now print:
>
> $ virt-customize -a ./test-data/phony-guests/windows.img --install MSSQL
> [ 0.0] Examining the guest ...
> [ 14.2] Setting a random seed
> virt-customize: warning: random seed could not be set for this type of
> guest
> [ 14.2] Installing packages: MSSQL
> virt-customize:
2016 Jun 07
1
[PATCH] customize: Add --uninstall operation.
---
customize/customize_run.ml | 30 ++++++++++++++++++++++++++++++
generator/customize.ml | 17 +++++++++++++++--
2 files changed, 45 insertions(+), 2 deletions(-)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index c9d9d7d..b2506d1 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -151,6 +151,31 @@ exec >>%s 2>&1
| pm ->
2016 May 24
3
[PATCH 1/3] inspect: recognize the Void Linux distribution
Since Void Linux provides only an /etc/os-release with no VERSION_ID
field, then special-case it to avoid that the os-release parsing ignore
it.
This provides basic distro identification, and icon.
---
generator/actions.ml | 4 ++++
inspector/virt-inspector.rng | 1 +
src/guestfs-internal.h | 1 +
src/inspect-fs-unix.c | 14 ++++++++++++--
src/inspect-fs.c |
2016 May 04
0
[PATCH 2/2] customize: Improve the error messages when package manager is unknown or unsupported.
For Windows, we now print:
$ virt-customize -a ./test-data/phony-guests/windows.img --install MSSQL
[ 0.0] Examining the guest ...
[ 14.2] Setting a random seed
virt-customize: warning: random seed could not be set for this type of
guest
[ 14.2] Installing packages: MSSQL
virt-customize: error: '--install' failed because inspection could not
determine the package manager for this
2015 Oct 02
1
[PATCH] customize: remove zypper's gpg keys auto-import
This option was considered unsecure, found a fix on the generated
opensuse images instead.
---
customize/customize_run.ml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index ad0ab7f..6cb2328 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -116,7 +116,7 @@ exec >>%s 2>&1
2016 Jul 21
1
[PATCH] customize: use --noconfirm when installing Arch Linux packages
Otherwise the installation will fail right away, since pacman by default
asks for confirmation of the operation.
---
customize/customize_run.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index 6f0d615..3e759a2 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -117,7 +117,7 @@ exec >>%s
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
---
2016 Jan 26
1
[PATCH] customize: Add support for the APK (Alpine Linux) package manager.
---
customize/customize_run.ml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index ed3c818..48475af 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -97,6 +97,11 @@ exec >>%s 2>&1
let guest_install_command packages =
let quoted_args = String.concat " " (List.map
2018 Aug 23
3
[PATCH] Fix error with --uninstall option on SUSE
The `-l` option for some `zypper` subcommands is short for
`--auto-agree-with-licenses` and not available on the `zypper rm` command.
---
customize/customize_run.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index f92e9a199..3eacdaca0 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -181,7
2014 Mar 18
2
[PATCH] customize: Move virt-customize-related code to a separate
There's not going to be an easy way to present this patch. It's huge
and interconnected.
Anyway, what it does is lay the groundwork for a new tool which I'm
calling 'virt-customize'. virt-customize is virt-builder, but without
the part where it downloads a template from a respository. Just the
part where it customizes the template, that is, installing packages,
editing
2015 Jul 28
4
[PATCH 0/2] Misc fixes
Here are two patches: one fixes the gpg-agent causing unmount to fail
after running dnf to install packages. The other ones fixes dhcpcd call
in the init program to provide it an interface name.
Cédric Bosdonnat (2):
appliance init: find NIC name for dhcpcd
Make sure gpg-agent is terminated before umount
appliance/init | 3 ++-
customize/customize_run.ml | 3 ++-
2 files
2015 Aug 12
2
[PATCH 1/2] inspect: recognize the Alpine Linux distribution
Just basic identification, name and version.
---
generator/actions.ml | 4 ++++
src/guestfs-internal.h | 1 +
src/inspect-fs-unix.c | 10 ++++++++++
src/inspect-fs.c | 2 ++
src/inspect-icon.c | 1 +
src/inspect.c | 1 +
6 files changed, 19 insertions(+)
diff --git a/generator/actions.ml b/generator/actions.ml
index 35af981..26cc0da 100644
--- a/generator/actions.ml
2015 Jul 28
2
Re: [PATCH 2/2] Make sure gpg-agent is terminated before umount
On Tuesday 28 July 2015 15:21:38 Cédric Bosdonnat wrote:
> gpg-agent uses /sysroot/dev/null and thus /sysroot/dev can't be
> unmounted if gpg-agent is still around. Note that this problem only
> affects installing packages on fedora-22 guests.
> ---
> customize/customize_run.ml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git
2016 May 24
0
[PATCH 3/3] customize: add support for the xbps package manager
---
customize/customize_run.ml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index 4b3e13c..c9d9d7d 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -114,6 +114,7 @@ exec >>%s 2>&1
| "pisi" -> sprintf "pisi it %s" quoted_args
| "pacman" -> sprintf
2013 Aug 19
5
[PATCH v2 0/3 supermin] URPMI & xz support.
Joseph,
Please try my modified versions of these patches. These are
compile-tested on Fedora and they don't break any existing
functionality, but I don't have either urpmi nor a statically-linked
xz so I cannot fully test them.
I have also fixed detection of zlib (2/3).
Rich.
2015 Aug 12
0
[PATCH 2/2] inspect: support the APK package manager and its format
Associate the Alpine Linux distribution with it.
---
generator/actions.ml | 4 ++--
src/guestfs-internal.h | 2 ++
src/inspect-apps.c | 1 +
src/inspect-fs.c | 10 ++++++++--
src/inspect.c | 2 ++
5 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 26cc0da..d0d6a21 100644
--- a/generator/actions.ml
+++
2016 Jun 13
1
[PATCH v2] sysprep: Add --network to enable the network (RHBZ#1345813).
In commit ae6f726ecc3bc1b67fd76e51a7b1e1a33d4dcfc0 we started to use
the virt-customize code to replace various virt-sysprep operations.
This had the effect of adding many more possible operations to
virt-sysprep, but some of them (specifically --install) did not work
unless the appliance network is enabled. It was not enabled in
virt-sysprep, so these operations never worked.
This change does
2015 Sep 29
0
[PATCH v2 2/2] customize: get zypper to eat licenses and gpg keys
Without these flags --install will most likely fail as the GPG key
may no be imported in the guest image.
---
customize/customize_run.ml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/customize/customize_run.ml b/customize/customize_run.ml
index 9d97522..ad0ab7f 100644
--- a/customize/customize_run.ml
+++ b/customize/customize_run.ml
@@ -116,7 +116,7 @@ exec >>%s
2018 Nov 06
2
Re: [PATCH 2/3] v2v: linux: install packages
On Tue, Nov 06, 2018 at 11:44:14AM +0100, Tomáš Golembiovský wrote:
> Install packages from local files without touching network.
In fact, not limited to local files, but is limited to guests which
use ‘yum’. So I think the function needs a better name unless you're
planning to combine it with
customize/customize_run.ml:guest_install_command (which would be overkill).
> Signed-off-by:
2015 Feb 27
5
[PATCH 0/4] firstboot: assorted enhancements
This patchset attempts to address a number of shortcomings in the
firstboot infrastructure I came across while working with v2v conversion
of various Windows VMs.
Roman Kagan (4):
firstboot: consolidate line ending conversion
firstboot: enhance firstboot driver script for Windows
firstboot: make script naming descriptive
convert_windows: split firstboot into steps