Accepting request 504390 from home:ZRen:branches:Base:System

- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

- Backport fix for lvresize-full.sh failed, see bsc#1033691 
  + bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch

OBS-URL: https://build.opensuse.org/request/show/504390
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=190
This commit is contained in:
Eric ren 2017-06-17 17:19:42 +00:00 committed by Git OBS Bridge
parent 3cba7f3163
commit e42ca3a38b
7 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From c245996d700458f6ab159a387483736f1c1a6fbf Mon Sep 17 00:00:00 2001
From: Zdenek Kabelac <zkabelac@redhat.com>
Date: Tue, 30 May 2017 12:59:21 +0200
Subject: [PATCH] tests: missed to export lvm binary for fsadm
---
test/shell/lvresize-full.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/shell/lvresize-full.sh b/test/shell/lvresize-full.sh
index 17ee6aa..3eef11a 100644
--- a/test/shell/lvresize-full.sh
+++ b/test/shell/lvresize-full.sh
@@ -20,6 +20,7 @@ SKIP_WITH_LVMPOLLD=1
FSCK=${FSCK-fsck}
MKFS=${MKFS-mkfs.ext3}
RESIZEFS=${RESIZEFS-resize2fs}
+export LVM_BINARY=$(which lvm)
which $FSCK || skip
which $MKFS || skip
--
2.10.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 17 16:50:53 UTC 2017 - zren@suse.com
- Backport fix for lvresize-full.sh failed, see bsc#1033691
+ bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch
-------------------------------------------------------------------
Sat Jun 17 14:56:58 UTC 2017 - zren@suse.com

View File

@ -47,6 +47,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
### COMMON-PATCH-BEGIN ###
# Upstream patches
Patch0001: bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch
# SUSE patches: 1000+ for LVM
# Never upstream
@ -115,6 +116,7 @@ Programs and man pages for configuring and using the device mapper.
%prep
%setup -q -n LVM2.%{lvm2_version}
### COMMON-PREP-BEGIN ###
%patch0001 -p1
%patch1001 -p1
%patch1002 -p1
%patch1003 -p1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 17 16:50:53 UTC 2017 - zren@suse.com
- Backport fix for lvresize-full.sh failed, see bsc#1033691
+ bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch
-------------------------------------------------------------------
Sat Jun 17 14:56:58 UTC 2017 - zren@suse.com

View File

@ -50,6 +50,7 @@ Obsoletes: cmirrord < %{version}
Provides: cmirrord = %{version}
### COMMON-PATCH-BEGIN ###
# Upstream patches
Patch0001: bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch
# SUSE patches: 1000+ for LVM
# Never upstream
@ -119,6 +120,7 @@ A daemon for using LVM2 Logival Volumes in a clustered environment.
%setup -q -n LVM2.%{lvm2_version}
### COMMON-PREP-BEGIN ###
%patch0001 -p1
%patch1001 -p1
%patch1002 -p1
%patch1003 -p1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 17 16:50:53 UTC 2017 - zren@suse.com
- Backport fix for lvresize-full.sh failed, see bsc#1033691
+ bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch
-------------------------------------------------------------------
Sat Jun 17 14:56:58 UTC 2017 - zren@suse.com

View File

@ -55,6 +55,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
### COMMON-PATCH-BEGIN ###
# Upstream patches
Patch0001: bug-1033691_tests-missed-to-export-lvm-binary-for-fsadm.patch
# SUSE patches: 1000+ for LVM
# Never upstream
@ -127,6 +128,7 @@ Volume Manager.
%prep
%setup -q -n LVM2.%{version}
### COMMON-PREP-BEGIN ###
%patch0001 -p1
%patch1001 -p1
%patch1002 -p1
%patch1003 -p1