dist/debian: don't strip ld.so

On some environment dh_strip fails at libreloc/ld.so, so it's better to
skip too just like libprotobuf.so.15.

error message is:
dh_strip -Xlibprotobuf.so.15 --dbg-package=scylla-server-dbg
strip:debian/scylla-server/opt/scylladb/libreloc/ld.so[.gnu.build.attributes]: corrupt GNU build attribute note: bad description size: Bad value
dh_strip: strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/scylla-server/opt/scylladb/libreloc/ld.so returned exit code 1
0

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
Message-Id: <20190319005153.26506-1-syuu@scylladb.com>
This commit is contained in:
Takuya ASADA
2019-03-19 09:51:53 +09:00
committed by Avi Kivity
parent 71bf757b2c
commit 32cee92d56

View File

@@ -29,7 +29,7 @@ override_dh_installinit:
dh_installinit --no-start --name node-exporter
override_dh_strip:
dh_strip -Xlibprotobuf.so.15 --dbg-package={{product}}-server-dbg
dh_strip -Xlibprotobuf.so.15 -Xld.so --dbg-package={{product}}-server-dbg
override_dh_makeshlibs: