Create zfs-kmod-debuginfo rpm with redhat spec file

Correct the redhat specfile so that working debuginfo rpms are created
for the kernel modules.  The generic specfile already does the right
thing.

Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4224
This commit is contained in:
Olaf Faaland
2016-01-19 17:48:17 -08:00
committed by Brian Behlendorf
parent 37c56346cc
commit dfe0d02734
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -177,6 +177,7 @@ for kernel_version in %{?kernel_versions}; do
INSTALL_MOD_DIR=%{kmodinstdir_postfix}
cd ..
done
# find-debuginfo.sh only considers executables
chmod u+x ${RPM_BUILD_ROOT}%{kmodinstdir_prefix}/*/extra/*/*/*
%{?akmod_install}