[Libguestfs] How to resolve OCaml-augeas dependency for Guestfs build on Ubuntu 22.04

2023-04-05 Thread Chintan Patel
Hi Libguestfs team, I'm trying to build guestfs on Ubuntu 22.04, but getting below error. #17 8.021 checking for OCaml findlib package augeas... not found #17 8.024 configure: error: the OCaml module 'augeas' is required By guestfs-building doc I need to get the package from

Re: [Libguestfs] [libguestfs-common PATCH 2/2] detect_kernels: deal with RHEL's kernel-core / kernel-modules-core split

2023-04-05 Thread Laszlo Ersek
On 4/5/23 13:55, Richard W.M. Jones wrote: > On Mon, Mar 20, 2023 at 12:53:00PM +0100, Laszlo Ersek wrote: >> In "kernel-5.14.0-269.el9", the "kernel-modules-core" subpackage got split >> from the "kernel-core" subpackage. Therefore, a single binary RPM >> containing *both* the

[Libguestfs] [rhel-9.2 v2v PATCH 2/2] detect_kernels: deal with RHEL's kernel-core / kernel-modules-core split

2023-04-05 Thread Laszlo Ersek
In "kernel-5.14.0-269.el9", the "kernel-modules-core" subpackage got split from the "kernel-core" subpackage. Therefore, a single binary RPM containing *both* the "/boot/vmlinuz-5.14.0-269.el9.x86_64" file *and* the "/lib/modules/5.14.0-269.el9.x86_64" directory no longer exists. The file now

[Libguestfs] [rhel-9.2 v2v PATCH 1/2] detect_kernels: tighten "try" scope

2023-04-05 Thread Laszlo Ersek
We want to catch Not_found from (our own implementation of) "List.find_map". There's no need (and it makes no sense) to push the "prefix_len" calculation down into the "try" scope. Keep the "try" scope as narrow as possible. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2175703

[Libguestfs] [rhel-9.2 v2v PATCH 0/2] detect_kernels: deal with RHEL's kernel-core / kernel-modules-core split

2023-04-05 Thread Laszlo Ersek
https://bugzilla.redhat.com/show_bug.cgi?id=2175703 In RHEL-9.2, the "detect_kernels" function still exists in virt-v2v, not in the common submodule. Because we need to fix RHBZ#2175703 for RHEL-9.2.z as well, port of the identically named libguestfs-common patch series

Re: [Libguestfs] [libguestfs-common PATCH 2/2] detect_kernels: deal with RHEL's kernel-core / kernel-modules-core split

2023-04-05 Thread Richard W.M. Jones
On Mon, Mar 20, 2023 at 12:53:00PM +0100, Laszlo Ersek wrote: > In "kernel-5.14.0-269.el9", the "kernel-modules-core" subpackage got split > from the "kernel-core" subpackage. Therefore, a single binary RPM > containing *both* the "/boot/vmlinuz-5.14.0-269.el9.x86_64" file *and* the >