SHA256
1
0
forked from pool/supermin

- add supermin.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=51
This commit is contained in:
Olaf Hering 2020-11-11 13:16:08 +00:00 committed by Git OBS Bridge
parent baf83d583a
commit c79838b1ea
3 changed files with 14 additions and 2 deletions

View File

@ -9,6 +9,7 @@ Fri Oct 23 18:45:45 UTC 2020 - Dirk Mueller <dmueller@suse.com>
* rpm: provide a dummy supermin_rpm_get_arch implementation * rpm: provide a dummy supermin_rpm_get_arch implementation
* ext2: Build symbolic links correctly (RHBZ#1770304). * ext2: Build symbolic links correctly (RHBZ#1770304).
* Update gnulib to latest. * Update gnulib to latest.
- add supermin.patch
- switch to release tarball, use keyring for gpg validation - switch to release tarball, use keyring for gpg validation
- run tests - run tests

11
supermin.patch Normal file
View File

@ -0,0 +1,11 @@
--- a/src/format_ext2_kernel.ml
+++ b/src/format_ext2_kernel.ml
@@ -221,7 +221,7 @@ and get_kernel_version debug kernel_file
if debug >= 1 then printf " = %s (from filename)\n%!" version;
Some version
) else (
- if debug >= 1 then printf " = error, no modpath\n%!";
+ if debug >= 1 then printf " = error, no modpath for version %s \n%!" version;
None
)
)

View File

@ -28,6 +28,7 @@ Source1: https://download.libguestfs.org/supermin/5.2-stable/supermin-5.2
Source9: supermin.keyring Source9: supermin.keyring
# Pending upstream review # Pending upstream review
Patch0: suse_release.patch Patch0: suse_release.patch
Patch1: supermin.patch
BuildRequires: augeas BuildRequires: augeas
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@ -67,8 +68,7 @@ which get fully instantiated on-the-fly in a fraction of a second when
you need to boot one of them. you need to boot one of them.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1
%build %build
export ZYPPER=zypper export ZYPPER=zypper