import cloud-utils-growpart-0.31-3.el8
This commit is contained in:
parent
d3e5b48a2d
commit
f009ed54d9
@ -0,0 +1,41 @@
|
||||
From 3fc71ad0d38a3205ad8a790769353b67f32dccff Mon Sep 17 00:00:00 2001
|
||||
From: Emanuele Giuseppe Esposito <eesposit@redhat.com>
|
||||
Date: Thu, 10 Jun 2021 17:04:49 +0200
|
||||
Subject: [PATCH] Fix issue LP: #1928167 growpart doesn't work when
|
||||
LANG=cs_CZ.UTF-8
|
||||
|
||||
RH-Author: Emanuele Giuseppe Esposito <eesposit@redhat.com>
|
||||
RH-MergeRequest: 3: Fix issue LP: #1928167 growpart doesn't work when LANG=cs_CZ.UTF-8
|
||||
RH-Commit: [1/1] e77ca8febb4171201c6c75f9420c4744ab321024
|
||||
RH-Bugzilla: 1885992
|
||||
RH-Acked-by: Mohamed Gamal Morsy <mmorsy@redhat.com>
|
||||
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
||||
|
||||
commit 03aa9974e7eb438b798fe95afc7cf4efe72ea73a
|
||||
Author: Amy Chen <66719270+xiachen-rh@users.noreply.github.com>
|
||||
Date: Wed May 12 13:03:17 2021 +0800
|
||||
|
||||
Fix issue LP: #1928167 growpart doesn't work when LANG=cs_CZ.UTF-8
|
||||
|
||||
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
|
||||
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
||||
---
|
||||
bin/growpart | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/growpart b/bin/growpart
|
||||
index e815e4e..66a6dd2 100755
|
||||
--- a/bin/growpart
|
||||
+++ b/bin/growpart
|
||||
@@ -181,7 +181,7 @@ get_sfdisk_version() {
|
||||
local out oifs="$IFS" ver=""
|
||||
[ -n "$SFDISK_VERSION" ] && return 0
|
||||
# expected output: sfdisk from util-linux 2.25.2
|
||||
- out=$(sfdisk --version) ||
|
||||
+ out=$(LANG=C sfdisk --version) ||
|
||||
{ error "failed to get sfdisk version"; return 1; }
|
||||
set -- $out
|
||||
ver=$4
|
||||
--
|
||||
2.27.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: cloud-utils-growpart
|
||||
Version: 0.31
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv3
|
||||
Group: System Environment/Base
|
||||
Source0: cloud-utils-0.31.tar.gz
|
||||
@ -11,6 +11,8 @@ BuildArch: noarch
|
||||
|
||||
# BZ 1933768 - cloud-utils-growpart: Wrong parsing of sfdisk output in french locale
|
||||
Patch1: cu-growpart-Use-LANG-C-to-parse-sfdisk-output.patch
|
||||
# For bz#1885992 - [RHEL-8] growpart doesn't work when LANG=cs_CZ.UTF-8
|
||||
Patch2: cu-Fix-issue-LP-1928167-growpart-doesn-t-work-when-LANG.patch
|
||||
|
||||
Summary: Script for growing a partition
|
||||
|
||||
@ -48,6 +50,11 @@ cp man/growpart.* $RPM_BUILD_ROOT/%{_mandir}/man1/
|
||||
%doc %{_mandir}/man1/growpart.*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 14 2021 Miroslav Rezanina <mrezanin@redhat.com> - 0.31-3
|
||||
- cu-Fix-issue-LP-1928167-growpart-doesn-t-work-when-LANG.patch [bz#1885992]
|
||||
- Resolves: bz#1885992
|
||||
([RHEL-8] growpart doesn't work when LANG=cs_CZ.UTF-8)
|
||||
|
||||
* Wed Jun 02 2021 Miroslav Rezanina <mrezanin@redhat.com> - 0.31-2
|
||||
- cu-growpart-Use-LANG-C-to-parse-sfdisk-output.patch [bz#1933768]
|
||||
- Resolves: bz#1933768
|
||||
|
Loading…
Reference in New Issue
Block a user