Browse Source

kexec-tools change to powerel

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 4 years ago
parent
commit
fb0045d30d
  1. 10
      SPECS/kexec-tools.spec

10
SPECS/kexec-tools.spec

@ -203,12 +203,12 @@ export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2" @@ -203,12 +203,12 @@ export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2"

%configure \
%ifarch ppc64
--host=powerpc64-redhat-linux-gnu \
--build=powerpc64-redhat-linux-gnu \
--host=powerpc64-powerel-linux-gnu \
--build=powerpc64-powerel-linux-gnu \
%endif
%ifarch ppc64le
--host=powerpc64le-redhat-linux-gnu \
--build=powerpc64le-redhat-linux-gnu \
--host=powerpc64le-powerel-linux-gnu \
--build=powerpc64le-powerel-linux-gnu \
%endif
--sbindir=/sbin
rm -f kexec-tools.spec.in
@ -359,7 +359,7 @@ touch %{_sysconfdir}/kdump.conf @@ -359,7 +359,7 @@ touch %{_sysconfdir}/kdump.conf
MY_ARCH=`uname -m`
if [ "$MY_ARCH" == "ia64" ]
then
IMGDIR=/boot/efi/efi/redhat
IMGDIR=/boot/efi/efi/powerel
else
IMGDIR=/boot
fi

Loading…
Cancel
Save