kernel x64 updates in bzimage processing
Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>master
parent
fbb9d79073
commit
56054a2029
SPECS
|
@ -379,9 +379,10 @@ BuildKernel() {
|
|||
#%{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
|
||||
#%{__cp} %make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
|
||||
if [ %make_target == 'bzImage' ]; then
|
||||
%{__cp} arch/%{buildarch}/boot/%make_target .
|
||||
%{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
|
||||
else
|
||||
eu-strip --remove-comment -o $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %make_target
|
||||
fi
|
||||
eu-strip --remove-comment -o $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %make_target
|
||||
%{__chmod} 755 $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
|
||||
|
||||
%{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}
|
||||
|
|
Loading…
Reference in New Issue