kernel x64 updates in bzimage processing

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 2018-05-29 14:37:24 +02:00
parent fbb9d79073
commit 56054a2029
1 changed files with 3 additions and 2 deletions

View File

@ -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}