Browse Source

kernel x64 updates in bzimage processing

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 7 years ago
parent
commit
56054a2029
  1. 5
      SPECS/kernel.spec

5
SPECS/kernel.spec

@ -379,9 +379,10 @@ BuildKernel() {
#%{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} #%{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
#%{__cp} %make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} #%{__cp} %make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
if [ %make_target == 'bzImage' ]; then if [ %make_target == 'bzImage' ]; then
%{__cp} arch/%{buildarch}/boot/%make_target . %{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
fi else
eu-strip --remove-comment -o $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %make_target eu-strip --remove-comment -o $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %make_target
fi
%{__chmod} 755 $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %{__chmod} 755 $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}


%{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA} %{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA}

Loading…
Cancel
Save