openpower-bootloaders package creation

Signed-off-by: virtbuilder_pel7ppc64lebuilder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7ppc64lebuilder0 2021-05-02 22:27:24 +02:00
parent 54f0765fd3
commit 4f1754f6cb
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
Name: openpower-bootloaders
Version: 2.3
Release: 1%{dist}
License: Apache
Summary: OpenPOWER Bootloaders files
%description


%prep
%setup -T -c %{name}-%{version}
git clone --recursive https://github.com/open-power/op-build.git


%build
cd op-build
git checkout v%{version}
./op-build pseries_defconfig
./op-build


%install
mkdir -p %{buildroot}/%{_datadir}/openpower/images/
cp op-build/output/images/zImage.epapr %{buildroot}/%{_datadir}/openpower/images/


%files
%{buildroot}/%{_datadir}/openpower/bootloaders/


%changelog