File tree 1 file changed +1
-4
lines changed
SPECS-SIGNED/kernel-signed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -87,15 +87,11 @@ Requires(postun): coreutils
87
87
The kernel package contains the signed Linux kernel.
88
88
89
89
%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
93
90
94
91
%build
95
92
# This spec's whole purpose is to inject the signed kernel binary
96
93
rpm2cpio %{SOURCE0 } | cpio -idmv
97
94
cp %{SOURCE1 } ./boot/vmlinuz-%{uname_r }
98
- find / | grep module_info
99
95
100
96
%install
101
97
# 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
145
141
%exclude /lib/modules/%{uname_r }/build
146
142
%exclude /lib/modules/%{uname_r }/kernel/drivers/gpu
147
143
%exclude /lib/modules/%{uname_r }/kernel/sound
144
+ %exclude /module_info.ld
148
145
%ifarch x86_64
149
146
%exclude /lib/modules/%{uname_r }/kernel/arch/x86/oprofile/
150
147
%endif
You can’t perform that action at this time.
0 commit comments