Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package supermin for openSUSE:Factory 
checked in at 2021-02-07 15:21:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/supermin (Old)
 and      /work/SRC/openSUSE:Factory/.supermin.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "supermin"

Sun Feb  7 15:21:45 2021 rev:9 rq:869861 version:5.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/supermin/supermin.changes        2020-12-10 
15:58:21.662867085 +0100
+++ /work/SRC/openSUSE:Factory/.supermin.new.28504/supermin.changes     
2021-02-07 15:24:19.530220175 +0100
@@ -1,0 +2,7 @@
+Fri Feb  5 16:59:34 CET 2021 - r...@suse.de
+
+- add patch supermin-kernel_version_compressed.patch
+  find kernel module path even for compressed kernels
+  like on aarch64 and s390x 
+
+-------------------------------------------------------------------

New:
----
  supermin-kernel_version_compressed.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ supermin.spec ++++++
--- /var/tmp/diff_new_pack.6k9LLz/_old  2021-02-07 15:24:21.042221902 +0100
+++ /var/tmp/diff_new_pack.6k9LLz/_new  2021-02-07 15:24:21.046221906 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package supermin
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 Source9:        supermin.keyring
 # Pending upstream review
 Patch0:         suse_release.patch
+Patch1:         supermin-kernel_version_compressed.patch
 BuildRequires:  augeas
 BuildRequires:  autoconf
 BuildRequires:  automake


++++++ supermin-kernel_version_compressed.patch ++++++
--- supermin-5.2.0/src/format_ext2_kernel.ml    2021/02/05 16:10:36     1.1
+++ supermin-5.2.0/src/format_ext2_kernel.ml    2021/02/05 16:12:46
@@ -212,6 +212,16 @@
   | None ->
      (* Try to work it out from the filename instead. *)
      let basename = Filename.basename kernel_file in
+     let basename =
+       let len = String.length basename in
+       if Filename.check_suffix basename ".xz" || Filename.check_suffix 
basename ".gz"
+       then (
+         let basename = String.sub basename 0 (len-3) in
+         basename
+       )
+       else (
+         basename
+       ) in
      if string_prefix "vmlinuz-" basename || string_prefix "vmlinux-" basename
      then (
        let version = String.sub basename 8 (String.length basename - 8) in

Reply via email to