Displaying 11 results from an estimated 11 matches for "is_file_own".
Did you mean:
is_file_owned
2017 Oct 23
2
[PATCH v2 1/2] v2v: Fix RPM file owned test (RHBZ#1503958).
v1 was here:
https://www.redhat.com/archives/libguestfs/2017-October/msg00183.html
v2:
- Adds back the Debian test, but simplified.
- Adds tests on Fedora & Debian.
Rich.
2017 Oct 19
1
[PATCH] v2v: Fix RPM file owned test (RHBZ#1503958).
Linux.file_owner is not used by any other function, so remove it.
Linux.is_file_owned is only used when removing kmod-xenpv on old RHEL
releases, and so is only required to work for RPM.
The old file_owner/is_file_owned functions were completely broken.
This replaces them with a simpler, working implementation that only
covers the narrow use case of removing kmod-xenpv non-owned...
2016 Aug 01
3
[PATCH] v2v: fixed file_owner function
What was happening in file_owner function did not match the description
in the comment. When a path is owned by multiple packages the returned
string was in fact a concatenation of the names of all packages that own
it. E.g. for `Linux.is_file_owned g inspect "/etc"` the returned value
was "filesystemyum" (i.e. "filesystem" + "yum").
Signed-off-by: Tom?? Golembiovsk? <tgolembi at redhat.com>
---
v2v/linux.ml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/v2v/linux.m...
2016 Aug 03
1
Re: [PATCH] v2v: fixed file_owner function
...máš Golembiovský wrote:
> > What was happening in file_owner function did not match the description
> > in the comment. When a path is owned by multiple packages the returned
> > string was in fact a concatenation of the names of all packages that own
> > it. E.g. for `Linux.is_file_owned g inspect "/etc"` the returned value
> > was "filesystemyum" (i.e. "filesystem" + "yum").
> >
> > Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
> > ---
> > v2v/linux.ml | 8 ++++++--
> > 1 file changed,...
2016 Aug 03
0
Re: [PATCH] v2v: fixed file_owner function
...02:46:14PM +0200, Tomáš Golembiovský wrote:
> What was happening in file_owner function did not match the description
> in the comment. When a path is owned by multiple packages the returned
> string was in fact a concatenation of the names of all packages that own
> it. E.g. for `Linux.is_file_owned g inspect "/etc"` the returned value
> was "filesystemyum" (i.e. "filesystem" + "yum").
>
> Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
> ---
> v2v/linux.ml | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-...
2019 Mar 26
0
[PATCH 1/3] v2v: linux: add helper functions for pkg arch and extension
...a -> a
+ | format, distro, arch ->
+ error (f_"don’t know what is the architecture string of %s using %s on %s")
+ arch format distro
diff --git a/v2v/linux.mli b/v2v/linux.mli
index 0a5991d12..30099745c 100644
--- a/v2v/linux.mli
+++ b/v2v/linux.mli
@@ -38,3 +38,11 @@ val is_file_owned : Guestfs.guestfs -> Types.inspect -> string -> bool
val is_package_manager_save_file : string -> bool
(** Return true if the filename is something like [*.rpmsave], ie.
a package manager save-file. *)
+
+val binary_package_extension : Types.inspect -> string
+(** Return the...
2019 Mar 26
7
[PATCH 0/3] v2v: improve RHV guest tools installation
This series slightly improves the way qemu-ga is installed from the
RHV Tools ISO, simplifying the feedback to the user.
Patch #3 sort of conflicts with patch #2 of a related series by
Tomáš Golembiovský:
https://www.redhat.com/archives/libguestfs/2019-February/msg00016.html
Pino Toscano (3):
v2v: linux: add helper functions for pkg arch and extension
v2v: try to pick the right arch for
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...if kmod-xenpv was installed. *)
if xenmods <> [] then (
@@ -429,7 +429,7 @@ let rec convert ~verbose ~keep_serial_console (g : G.guestfs) inspect source =
(* Check it's not owned by an installed application. *)
let dirs = List.filter (
- fun d -> not (Linux.is_file_owned verbose g inspect d)
+ fun d -> not (Linux.is_file_owned g inspect d)
) dirs in
(* Remove any unowned xenpv directories. *)
@@ -487,7 +487,7 @@ let rec convert ~verbose ~keep_serial_console (g : G.guestfs) inspect source =
fun { G.app2_name = name } -> name =...
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
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...ne)
@@ -151,7 +151,7 @@ let rec file_owner (g : G.guestfs) { i_package_format = package_format } path =
)
| format ->
- error (f_"don't know how to find file owner using %s") format
+ error (f_"don’t know how to find file owner using %s") format
and is_file_owned g inspect path =
try ignore (file_owner g inspect path); true
diff --git a/v2v/linux_bootloaders.ml b/v2v/linux_bootloaders.ml
index 061d94576..cad72a829 100644
--- a/v2v/linux_bootloaders.ml
+++ b/v2v/linux_bootloaders.ml
@@ -126,7 +126,7 @@ object
let path = List.hd paths in
let re...