On Debian-based systems, the kernel packages are named like
"linux-image-$kver", so check for them.
---
v2v/convert_linux.ml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index 6ca7cdb..1800d3d 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -145,7 +145,8 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source
rcaps =
filter_map (
function
| { G.app2_name = name } as app
- when name = "kernel" || String.is_prefix name "kernel-"
->
+ when name = "kernel" || String.is_prefix name "kernel-"
+ || String.is_prefix name "linux-image-" ->
(try
(* For each kernel, list the files directly owned by the kernel. *)
let files = Linux.file_list_of_package g inspect app in
--
2.7.4