diff options
Diffstat (limited to 'kernel.spec')
-rw-r--r-- | kernel.spec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec index a1104e0a7..a580c0746 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1390,6 +1390,9 @@ BuildKernel() { if [ -f arch/$Arch/*lds ]; then cp -a arch/$Arch/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || : fi + if [ -f arch/%{asmarch}/kernel/module.lds ]; then + cp -a --parents arch/%{asmarch}/kernel/module.lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ + fi rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o %ifarch %{power64} @@ -1399,8 +1402,6 @@ BuildKernel() { cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ fi %ifarch aarch64 - # Needed for systemtap - cp -a --parents arch/arm64/kernel/module.lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ # arch/arm64/include/asm/xen references arch/arm cp -a --parents arch/arm/include/asm/xen $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ # arch/arm64/include/asm/opcodes.h references arch/arm @@ -1913,6 +1914,9 @@ fi # # %changelog +* Fri May 04 2018 Laura Abbott <labbott@redhat.com> +- Fix for building out of tree modules on powerpc (rhbz 1574604) + * Fri May 04 2018 Justin M. Forbes <jforbes@fedoraproject.org> - Fix CVE-2018-10322 (rhbz 1571623 1571624) - Fix CVE-2018-10323 (rhbz 1571627 1571630) |