Displaying 1 result from an estimated 1 matches for "b820f731f".
2017 Dec 01
1
[PATCH] v2v: bootloaders: handle no default grubby kernel (RHBZ#1519204)
...ust start
with a / character
in case there is no default kernel that can be determined (e.g. because
of a bogus configuration).
---
v2v/linux_bootloaders.ml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/v2v/linux_bootloaders.ml b/v2v/linux_bootloaders.ml
index 8de3f0469..b820f731f 100644
--- a/v2v/linux_bootloaders.ml
+++ b/v2v/linux_bootloaders.ml
@@ -239,7 +239,10 @@ object (self)
let res =
match get_default_method with
| MethodGrubby ->
- Some (g#command [| "grubby"; "--default-kernel" |])
+ let res = g#com...