Accepting request 500561 from Virtualization

1

OBS-URL: https://build.opensuse.org/request/show/500561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2017-06-04 00:00:05 +00:00 committed by Git OBS Bridge
commit 622fcce6ff
3 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,15 @@
Index: libguestfs-1.36.4/v2v/convert_linux.ml
===================================================================
--- libguestfs-1.36.4.orig/v2v/convert_linux.ml
+++ libguestfs-1.36.4/v2v/convert_linux.ml
@@ -514,7 +514,9 @@ let rec convert (g : G.guestfs) inspect
else if family = `SUSE_family
&& g#is_file ~followsymlinks:true "/sbin/mkinitrd" then (
ignore (
- g#command [| "/sbin/mkinitrd";
+ g#command [| "/usr/bin/env";
+ "rootdev=" ^ inspect.i_root;
+ "/sbin/mkinitrd";
"-m"; String.concat " " modules;
"-i"; initrd;
"-k"; kernel.ki_vmlinuz;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 1 16:12:07 UTC 2017 - cbosdonnat@suse.com
- Fix v2v conversion of SLES 11 SP4 with kdump enabled
bsc#1038397
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 30 09:42:47 UTC 2017 - ohering@suse.de Tue May 30 09:42:47 UTC 2017 - ohering@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libguestfs # spec file for package libguestfs
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Michal Hrusecky <mhrusecky@novell.com> # Copyright (c) 2011 Michal Hrusecky <mhrusecky@novell.com>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -244,9 +244,9 @@ This package is only required for building the appliance.
%if %{with ocaml_bindings} %if %{with ocaml_bindings}
%package -n ocaml-libguestfs %package -n ocaml-libguestfs
Summary: Provides OCaml support for libguestfs Summary: Provides OCaml support for libguestfs
#
License: GPL-2.0 License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
#
%description -n ocaml-libguestfs %description -n ocaml-libguestfs
Allows OCaml scripts to directly use libguestfs. Allows OCaml scripts to directly use libguestfs.