File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
SPECS-SIGNED/kernel-signed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -87,15 +87,11 @@ Requires(postun): coreutils
8787The kernel package contains the signed Linux kernel.
8888
8989%prep
90- # Remove module_info.ld script due to error "unpackaged file" build error
91- LDFLAGS=" ` echo " %{build_ldflags} " | sed ' s#-Wl,-dT,/usr/src/mariner/BUILD/module_info.ld##' ` "
92- export LDFLAGS
9390
9491%build
9592# This spec's whole purpose is to inject the signed kernel binary
9693rpm2cpio %{SOURCE0 } | cpio -idmv
9794cp %{SOURCE1 } ./boot/vmlinuz-%{uname_r }
98- find / | grep module_info
9995
10096%install
10197# Don't use * wildcard. It does not copy over hidden files in the root folder...
@@ -145,6 +141,7 @@ ln -sf linux-%{uname_r}.cfg /boot/mariner.cfg
145141%exclude /lib/modules/%{uname_r }/build
146142%exclude /lib/modules/%{uname_r }/kernel/drivers/gpu
147143%exclude /lib/modules/%{uname_r }/kernel/sound
144+ %exclude /module_info.ld
148145%ifarch x86_64
149146%exclude /lib/modules/%{uname_r }/kernel/arch/x86/oprofile/
150147%endif
You can’t perform that action at this time.
0 commit comments