2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-27 03:49:57 +00:00
confluent/genesis/confluent-genesis.spec
Jarrod Johnson 4c6f0843f9 Remove microcode from genesis
Should not be needed for genesis level activity, and consumes a large
amount of storage.
2021-06-24 14:00:19 -04:00

35 lines
856 B
RPMSpec

%define arch x86_64
Version: 3.3.0
Release: 2
Name: confluent-genesis-%{arch}
BuildArch: noarch
Summary: Genesis servicing image for confluent
Source0: confluent-genesis.tar
URL: https://github.com/lenovo/confluent
AutoReq: false
AutoProv: false
License: Various
%Description
A small linux environment to proved a servicing image to boot systems into if needed.
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT
cd $RPM_BUILD_ROOT
mkdir -p opt/confluent/genesis/%{arch}
cd opt/confluent/genesis/%{arch}
tar xvf %{SOURCE0}
find . -type d -exec chmod o+rx {} +
find . -type f -exec chmod o+r {} +
find . -type f -exec chmod -x {} +
%files
/opt/confluent/genesis/%{arch}/boot/efi/boot/BOOTX64.EFI
/opt/confluent/genesis/%{arch}/boot/efi/boot/grubx64.efi
/opt/confluent/genesis/%{arch}/boot/initramfs/distribution
/opt/confluent/genesis/%{arch}/boot/kernel