[Libguestfs] [v2v PATCH 1/3] linux: remove warning for packages with no files

Pino Toscano ptoscano at redhat.com
Wed Sep 23 09:02:33 UTC 2020


Metapackages are valid packages with no files, used to easily install
something without manually installing bits.

This is the case of the "kernel" package in Fedora/RHEL/etc in the last
couple of years.
---
 v2v/linux_kernels.ml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/v2v/linux_kernels.ml b/v2v/linux_kernels.ml
index 9a41225a..78c1ee59 100644
--- a/v2v/linux_kernels.ml
+++ b/v2v/linux_kernels.ml
@@ -107,7 +107,6 @@ let detect_kernels (g : G.guestfs) inspect family bootloader =
            let files = Linux.file_list_of_package g inspect app in
 
            if files = [] then (
-             warning (f_"package ‘%s’ contains no files") name;
              None
            )
            else (
-- 
2.26.2




More information about the Libguestfs mailing list