Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
We need to mark modules as executables in order stripping to work pro…
…perly.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
  • Loading branch information
Marko Saukko committed Sep 17, 2012
1 parent df54b26 commit 9de3ba1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel-adaptation-sample.spec
Expand Up @@ -196,6 +196,8 @@ touch -r %{buildroot}/%{kernel_devel_dir}/.config %{buildroot}/%{kernel_devel_di
# Copy .config to include/config/auto.conf so "make prepare" is unnecessary.
cp %{buildroot}/%{kernel_devel_dir}/.config %{buildroot}/%{kernel_devel_dir}/include/config/auto.conf

# mark modules executable so that strip-to-file can strip them
find %{buildroot}/lib/modules/%{kernel_version_build} -name "*.ko" -type f -exec chmod u+x {} \;
# << install pre

# >> install post
Expand Down

0 comments on commit 9de3ba1

Please sign in to comment.