Accepting request 732956 from home:cyphar:lxc

- Completely drop all stripping -- it appears to cause all sorts of problems
  with unresolved symbol errors.

OBS-URL: https://build.opensuse.org/request/show/732956
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=24
This commit is contained in:
2019-09-24 13:52:57 +00:00
committed by Git OBS Bridge
parent a76926536b
commit f7692764ea
2 changed files with 2 additions and 4 deletions

View File

@@ -243,8 +243,6 @@ for target in bin/lxd $PKGDIR/.install/%{_libdir}/%{name}/lib*.so
do
# Drop RPATH in case it got included during builds.
patchelf --remove-rpath "$target"
# Strip binaries manually.
strip --strip-debug "$target"
# And now replace all the possible DT_NEEDEDs to absolute paths.
for lib in $PKGDIR/.install/%{_libdir}/%{name}/lib*.so
do
@@ -261,8 +259,6 @@ mkdir man
pushd bin/
for bin in *
do
# Strip binaries manually.
strip --strip-debug "$target"
# Ensure that all our binaries are dynamic. boo#1138769
file "$bin" | grep 'dynamically linked'
done