SHA256
1
0
forked from pool/lvm2
lvm2/lvm2-do-not-strip-pdata_tools.patch
LiuhuaMelody Wang 5c55cd07fa Accepting request 348412 from home:dimstar:Factory
- Re-add lvm2-do-not-strip-pdata_tools.patch: this is still needed.

This patch is still needed and was wrongly dropped in July.

OBS-URL: https://build.opensuse.org/request/show/348412
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=142
2015-12-14 02:47:27 +00:00

26 lines
1.0 KiB
Diff

DO NOT REMOVE THIS UNLESS YOU ACTUALLY UNDERSTAND WHAT IT DOES
in openSUSE, we do not strip binaries running make install - as this would
result in totally useless -debuginfo packages (while those are generated,
the binaries are striped, so the installed binaries are what we expect)
In this particular case, striping results in build failures of installation-images-openSUSE-extras,
as it creates a list of all required -debuginfo packages, based on the build_id.
Once stripped, the build_id can't be found in any valid -debuginfo, resulting in unresolvable
builds.
Index: LVM2.2.02.120/thin-provisioning-tools-0.5.3/Makefile.in
===================================================================
--- LVM2.2.02.120.orig/thin-provisioning-tools-0.5.3/Makefile.in
+++ LVM2.2.02.120/thin-provisioning-tools-0.5.3/Makefile.in
@@ -111,7 +111,7 @@ MANPATH:=$(DATADIR)/man
vpath %.cc $(TOP_DIR)
INSTALL_DIR = $(INSTALL) -m 755 -d
-INSTALL_PROGRAM = $(INSTALL) -m 755 -s
+INSTALL_PROGRAM = $(INSTALL) -m 755
INSTALL_DATA = $(INSTALL) -p -m 644
ifeq ("@TESTING@", "yes")