Accepting request 895446 from Base:System
OBS-URL: https://build.opensuse.org/request/show/895446 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=146
This commit is contained in:
commit
ffc4f253bf
12
bug-1184124-link-tests-as-PIE.patch
Normal file
12
bug-1184124-link-tests-as-PIE.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: LVM2.2.03.10/test/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- LVM2.2.03.10.orig/test/Makefile.in
|
||||||
|
+++ LVM2.2.03.10/test/Makefile.in
|
||||||
|
@@ -31,6 +31,7 @@ LVM_TEST_RESULTS ?= results
|
||||||
|
SOURCES = lib/not.c lib/harness.c lib/dmsecuretest.c
|
||||||
|
CXXSOURCES = lib/runner.cpp
|
||||||
|
CXXFLAGS += $(EXTRA_EXEC_CFLAGS)
|
||||||
|
+LDFLAGS += -pie
|
||||||
|
|
||||||
|
CLEAN_DIRS += dbus/__pycache__ $(LVM_TEST_RESULTS)
|
||||||
|
ifneq (.,$(firstword $(srcdir)))
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 25 11:23:12 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||||
|
|
||||||
|
- Link test as position independent executable (bsc#1184124).
|
||||||
|
+ bug-1184124-link-tests-as-PIE.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 23 03:45:00 UTC 2021 - heming.zhao@suse.com
|
Fri Apr 23 03:45:00 UTC 2021 - heming.zhao@suse.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lvm2
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -79,6 +79,7 @@ Patch1007: bug-1184687_Add-nolvm-for-kernel-cmdline.patch
|
|||||||
# SUSE patches 2000+ for device mapper, udev rules
|
# SUSE patches 2000+ for device mapper, udev rules
|
||||||
Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch
|
Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch
|
||||||
# SUSE patches 3000+ for test code
|
# SUSE patches 3000+ for test code
|
||||||
|
Patch3001: bug-1184124-link-tests-as-PIE.patch
|
||||||
# SUSE patches 4000+ for lvm2.spec
|
# SUSE patches 4000+ for lvm2.spec
|
||||||
Patch4001: bug-1037309_Makefile-skip-compliling-daemons-lvmlockd-directory.patch
|
Patch4001: bug-1037309_Makefile-skip-compliling-daemons-lvmlockd-directory.patch
|
||||||
# To detect modprobe during build
|
# To detect modprobe during build
|
||||||
@ -138,6 +139,7 @@ Volume Manager.
|
|||||||
%patch1006 -p1
|
%patch1006 -p1
|
||||||
%patch1007 -p1
|
%patch1007 -p1
|
||||||
%patch2001 -p1
|
%patch2001 -p1
|
||||||
|
%patch3001 -p1
|
||||||
|
|
||||||
%if !%{with lockd}
|
%if !%{with lockd}
|
||||||
%patch4001 -p1
|
%patch4001 -p1
|
||||||
@ -479,6 +481,7 @@ LVM commands use lvmlockd to coordinate access to shared storage.
|
|||||||
%{_sbindir}/rclvm2-lvmlocking
|
%{_sbindir}/rclvm2-lvmlocking
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmpolld.service lvm2-lvmpolld.socket
|
%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmpolld.service lvm2-lvmpolld.socket
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user