From bf80fe23ae3733a1019c3a03600125b6746ec58c Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 15 2020 11:50:19 +0000 Subject: Add symvers to /boot in CentOS7 --- diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index f4f8cec..b56a59f 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -2865,7 +2865,11 @@ fi %ghost /boot/System.map-%{KVERREL}%{?3:+%{3}}\ /lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.gz\ /lib/modules/%{KVERREL}%{?3:+%{3}}/config\ +%if 0%{?rhel} == 7\ +/boot/symvers-%{KVERREL}%{?3:+%{3}}.gz\ +%else\ %ghost /boot/symvers-%{KVERREL}%{?3:+%{3}}.gz\ +%endif\ %ghost /boot/config-%{KVERREL}%{?3:+%{3}}\ %ghost /boot/initramfs-%{KVERREL}%{?3:+%{3}}.img\ %dir /lib/modules\