From 867a61566f89bb7fe5257fb115ac675e45428a29 Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" Date: Tue, 26 Apr 2016 14:41:02 -0700 Subject: [PATCH] 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 --- lustre.spec.in | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.8.3.1