Displaying 3 results from an estimated 3 matches for "all_candidates".
2019 Mar 20
1
[PATCH] v2v: linux: improve archtecture detection from modules (RHBZ#1690574)
...*)
let arch =
- let any_module = modpath ^ List.hd modules in
- g#file_architecture any_module in
+ (* Well known kernel modules. *)
+ let candidates = [ "virtio"; "kvm" ] in
+ let all_candidates = List.flatten (
+ List.map (
+ fun f ->
+ [ "/" ^ f ^ ".o"; "/" ^ f ^ ".ko"; "/" ^ f ^ ".ko.xz" ]
+ ) candidates
+ ) in
+ let candidate =...
2020 Sep 23
0
[v2v PATCH 3/3] linux: remove special handling of packages with no files
...he well
- * known modules, if available. Otherwise, an arbitrary
- * module is used.
- *)
- let arch =
- (* Well known kernel modules. *)
- let candidates = [ "virtio"; "kvm" ] in
- let all_candidates = List.flatten (
- List.map (
- fun f ->
- [ "/" ^ f ^ ".o"; "/" ^ f ^ ".ko"; "/" ^ f ^ ".ko.xz" ]
- ) candidates
- ) in
- let candidate =...
2020 Sep 23
3
[v2v PATCH 1/3] linux: remove warning for packages with no files
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
+++