From: Christopher J. Morrone Date: Tue, 26 Apr 2016 21:41:02 +0000 (-0700) Subject: LU-8072 build: Restore module debuginfo X-Git-Tag: 2.8.53~12 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=867a61566f89bb7fe5257fb115ac675e45428a29 LU-8072 build: Restore module debuginfo In commit 3ce96f162a weaccidentally dropped the chmod that makes kernel modules available to the find-debuginfo.sh. Reintroducing this chmod allows the lustre debuginfo package to contain debuginfo for the kenrel modules. Change-Id: I57e2a6dc248aaccf573e68a49a981bf92c7fbb62 Signed-off-by: Christopher J. Morrone Reviewed-on: http://review.whamcloud.com/19805 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Dmitry Eremin Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/lustre.spec.in b/lustre.spec.in index 337c80c..bcd2349 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -382,6 +382,11 @@ fi find $RPM_BUILD_ROOT%{_libdir}/@PACKAGE@ \ -name \*.la -type f -exec rm -f {} \; +%if %{with lustre_modules} +# mark modules executable for find-debuginfo.sh +find $RPM_BUILD_ROOT/lib/modules -name \*.ko -type f -exec chmod u+x {} \; +%endif + %if %{with lustre_tests} echo '%{_libdir}/lustre/tests/*' >>lustre-tests.files echo '%{_bindir}/mcreate' >>lustre-tests.files