2020-08-11 16:11:48 +00:00
|
|
|
%define arch x86_64
|
2024-05-23 19:15:37 +00:00
|
|
|
Version: 3.10.0
|
2023-01-31 14:10:23 +00:00
|
|
|
Release: 1
|
2020-08-11 16:11:48 +00:00
|
|
|
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
|
2022-04-25 17:04:45 +00:00
|
|
|
/opt/confluent/genesis/%{arch}/rpmlist
|
2020-08-11 16:11:48 +00:00
|
|
|
/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
|