Displaying 14 results from an estimated 14 matches for "augeas_init".
2016 Aug 18
1
[PATCH] v2v: linux: simplify RPM database cleaning
...4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index f9aa334..9941750 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -85,9 +85,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
Linux.augeas_init g;
(* Clean RPM database. This must be done early to avoid RHBZ#1143866. *)
- let dbfiles = g#glob_expand "/var/lib/rpm/__db.00?" in
- let dbfiles = Array.to_list dbfiles in
- List.iter g#rm_f dbfiles;
+ Array.iter g#rm_f (g#glob_expand "/var/lib/rpm/__db.00?");
(...
2016 Aug 10
1
[PATCH 2/7] v2v: add basic support for the "deb" package manager
...-> `SUSE_family
| _ -> assert false in
- assert (inspect.i_package_format = "rpm");
+ assert (inspect.i_package_format = "rpm" || inspect.i_package_format = "deb");
(* We use Augeas for inspection and conversion, so initialize it early. *)
Linux.augeas_init g;
diff --git a/v2v/linux.ml b/v2v/linux.ml
index ed639c1..d449e10 100644
--- a/v2v/linux.ml
+++ b/v2v/linux.ml
@@ -48,6 +48,10 @@ and do_remove g inspect packages =
assert (List.length packages > 0);
let package_format = inspect.i_package_format in
match package_format with
+ | "...
2016 Aug 09
2
Re: [PATCH 2/8] v2v: add basic support for the "deb" package manager
...> assert false in
>
> - assert (inspect.i_package_format = "rpm");
> + assert (inspect.i_package_format = "rpm" || inspect.i_package_format = "deb");
>
> (* We use Augeas for inspection and conversion, so initialize it early. *)
> Linux.augeas_init g;
> diff --git a/v2v/linux.ml b/v2v/linux.ml
> index ed639c1..5713f64 100644
> --- a/v2v/linux.ml
> +++ b/v2v/linux.ml
> @@ -48,6 +48,10 @@ and do_remove g inspect packages =
> assert (List.length packages > 0);
> let package_format = inspect.i_package_format in
>...
2016 Aug 09
1
Re: [PATCH 2/8] v2v: add basic support for the "deb" package manager
...rt (inspect.i_package_format = "rpm");
> > > + assert (inspect.i_package_format = "rpm" || inspect.i_package_format = "deb");
> > >
> > > (* We use Augeas for inspection and conversion, so initialize it early. *)
> > > Linux.augeas_init g;
> > > diff --git a/v2v/linux.ml b/v2v/linux.ml
> > > index ed639c1..5713f64 100644
> > > --- a/v2v/linux.ml
> > > +++ b/v2v/linux.ml
> > > @@ -48,6 +48,10 @@ and do_remove g inspect packages =
> > > assert (List.length packages > 0);
&g...
2016 Aug 08
0
[PATCH 2/8] v2v: add basic support for the "deb" package manager
...-> `SUSE_family
| _ -> assert false in
- assert (inspect.i_package_format = "rpm");
+ assert (inspect.i_package_format = "rpm" || inspect.i_package_format = "deb");
(* We use Augeas for inspection and conversion, so initialize it early. *)
Linux.augeas_init g;
diff --git a/v2v/linux.ml b/v2v/linux.ml
index ed639c1..5713f64 100644
--- a/v2v/linux.ml
+++ b/v2v/linux.ml
@@ -48,6 +48,10 @@ and do_remove g inspect packages =
assert (List.length packages > 0);
let package_format = inspect.i_package_format in
match package_format with
+ | "...
2016 Aug 08
11
[PATCH 0/8] v2v: first bits of Debian/Ubuntu guests supports
Hi,
this series implements the first bits in v2v to convert Debian/Ubuntu
(and derived) guests. The series does not complete the support (see
known issues below), but all the patches here should be fit for review
and inclusion. The series does not enable the conversion, yet.
Known issues:
* there is no grubby nor Bootloader::Tools Perl module available in
Debian, so there is no way to know
2016 Sep 16
1
[PATCH v4] v2v: linux: correctly reconfigure the initrd on Debian
Using update-initramfs is the native way of updating initrd on Debian
based systems.
To add some modules to the image we can list them in file
/etc/initramfs-tools/modules.
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
---
v2v/convert_linux.ml | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index
2016 Aug 09
0
Re: [PATCH 2/8] v2v: add basic support for the "deb" package manager
...> > - assert (inspect.i_package_format = "rpm");
> > + assert (inspect.i_package_format = "rpm" || inspect.i_package_format = "deb");
> >
> > (* We use Augeas for inspection and conversion, so initialize it early. *)
> > Linux.augeas_init g;
> > diff --git a/v2v/linux.ml b/v2v/linux.ml
> > index ed639c1..5713f64 100644
> > --- a/v2v/linux.ml
> > +++ b/v2v/linux.ml
> > @@ -48,6 +48,10 @@ and do_remove g inspect packages =
> > assert (List.length packages > 0);
> > let package_format...
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...mon v2v.ml code, but that has to deal with generic guests
@@ -82,7 +82,7 @@ let rec convert ~verbose ~keep_serial_console (g : G.guestfs) inspect source =
assert (inspect.i_package_format = "rpm");
(* We use Augeas for inspection and conversion, so initialize it early. *)
- Linux.augeas_init verbose g;
+ Linux.augeas_init g;
(* Clean RPM database. This must be done early to avoid RHBZ#1143866. *)
let dbfiles = g#glob_expand "/var/lib/rpm/__db.00?" in
@@ -132,7 +132,7 @@ let rec convert ~verbose ~keep_serial_console (g : G.guestfs) inspect source =
when na...
2016 Aug 26
11
[PATCH v2 0/7] v2v: first bits of Debian/Ubuntu guests supports
Hi,
this series implements the first bits in v2v to convert Debian/Ubuntu
(and derived) guests. The series does not complete the support (see
known issues below), but all the patches here should be fit for review
and inclusion. The series does not enable the conversion, yet.
Known issues:
* there is no grubby nor Bootloader::Tools Perl module available in
Debian, so there is no way to know
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
2016 Jul 13
6
[PATCH 0/5] Fix SELinux
We can use the setfiles(8) command to relabel the guest filesystem,
even though we don't have a policy loaded nor SELinux enabled in the
appliance kernel.
This also deprecates or removes the old and broken SELinux support.
This patch isn't quite complete - I would like to add some tests to
the new API. I'm posting here to garner early feedback.
Rich.
2016 Jul 14
10
[PATCH v2 0/7] Fix SELinux
v1 -> v2:
- Add simple test of the setfiles API.
- Use SELinux_relabel module in virt-v2v (instead of touch /.autorelabel).
- Small fixes.
Rich.