forked from pool/pesign-obs-integration
Accepting request 720133 from home:gary_lin:branches:Base:System
- Add 0001-Initialize-compress-variable.patch to initialize $compress in pesign-gen-repackage-spec to avoid warning OBS-URL: https://build.opensuse.org/request/show/720133 OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign-obs-integration?expand=0&rev=79
This commit is contained in:
parent
5350328eee
commit
c9882f55ca
31
0001-Initialize-compress-variable.patch
Normal file
31
0001-Initialize-compress-variable.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 1c61b9001cf2053df9d05fa518b2c2a9be99f903 Mon Sep 17 00:00:00 2001
|
||||
From: Gary Lin <glin@suse.com>
|
||||
Date: Thu, 1 Aug 2019 10:38:51 +0800
|
||||
Subject: [PATCH] Initialize compress variable
|
||||
|
||||
$compress in pesign-gen-repackage-spec wasn't initialized and this may
|
||||
caused a warning like this:
|
||||
|
||||
Use of uninitialized value $compress in string eq at /usr/lib/rpm/pesign/pesign-gen-repackage-spec line 422.
|
||||
|
||||
Signed-off-by: Gary Lin <glin@suse.com>
|
||||
---
|
||||
pesign-gen-repackage-spec | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pesign-gen-repackage-spec b/pesign-gen-repackage-spec
|
||||
index fef0a9d..fa0935e 100755
|
||||
--- a/pesign-gen-repackage-spec
|
||||
+++ b/pesign-gen-repackage-spec
|
||||
@@ -30,7 +30,7 @@ my $directory;
|
||||
my $output = ".";
|
||||
my $cert_subpackage;
|
||||
my $kmp_basename;
|
||||
-my $compress;
|
||||
+my $compress = "";
|
||||
my @rpms;
|
||||
|
||||
$ENV{LC_ALL} = "en_US.UTF-8";
|
||||
--
|
||||
2.22.0
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 1 02:41:28 UTC 2019 - Gary Ching-Pang Lin <glin@suse.com>
|
||||
|
||||
- Add 0001-Initialize-compress-variable.patch to initialize
|
||||
$compress in pesign-gen-repackage-spec to avoid warning
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 29 06:01:20 UTC 2019 - Gary Ching-Pang Lin <glin@suse.com>
|
||||
|
||||
|
@ -34,6 +34,7 @@ Url: http://en.opensuse.org/openSUSE:UEFI_Image_File_Sign_Tools
|
||||
Source: %{name}_%{version}.tar.gz
|
||||
Patch1: 0001-Passthrough-license-tag.patch
|
||||
Patch2: 0001-Add-support-for-kernel-module-compression.patch
|
||||
Patch3: 0001-Initialize-compress-variable.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# suse-module-tools <= 15.0.10 contains modsign-verify
|
||||
Requires: suse-module-tools >= 15.0.10
|
||||
@ -46,6 +47,7 @@ boot loader, kernel and kernel modules in the openSUSE Buildservice.
|
||||
%setup -D -n %{name}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user