2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Move ubuntu into the deploy directory

Also get started on a spec file
This commit is contained in:
Jarrod Johnson 2020-05-04 13:49:48 -04:00
parent 2929e18413
commit 65797abfbb
9 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,48 @@
Name: confluent_deploy-x86_64
Version: 3.0
Release 1%{?dist}
Summary: OS Deployment support for confluent
License: Apache2
URL: http://hpc.lenovo.com/
Source0: confluent-deploy.tar.xz
BulidArch: noarch
Requires: confluent_ipxe
BuildRoot: /tmp
%description
This contains support utilities for enabling deployment of x86_64 architecture systems
%define debug_package %{nil}
%prep
%setup
%build
mkdir -p opt/confluent/bin
cd utils
make all
cp copernicus clortho autocons ../opt/confluent/bin
cd ..
mkdir el8out suse15out ubuntu20.04out
cd el8out
cp -a ../opt .
mkdir -p usr/lib/dracut/hooks/
cp -a ../el8/dracut-hooks/* usr/lib/dracut/hooks/
find . | cpio -H newc > addons.cpio
cd ../suse15out
cp -a ../opt .
cp -a ../suse15/opt ../suse15/etc .
find . | cpio -H newc > addons.cpio
cd ../ubuntu20.04out
cp -a ../opt .
cp -a ../ubuntu20.04/initramfs/* .
find . | cpio -H newc > addons.cpio
%install
pwd
ls