diff --git a/confluent_deploy/confluent_deploy.spec b/confluent_deploy/confluent_deploy.spec new file mode 100644 index 00000000..d4de71f0 --- /dev/null +++ b/confluent_deploy/confluent_deploy.spec @@ -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 + + + diff --git a/misc/ubuntu20.04deploy/autoinstall/meta-data b/confluent_deploy/ubuntu20.04/autoinstall/meta-data similarity index 100% rename from misc/ubuntu20.04deploy/autoinstall/meta-data rename to confluent_deploy/ubuntu20.04/autoinstall/meta-data diff --git a/misc/ubuntu20.04deploy/autoinstall/user-data b/confluent_deploy/ubuntu20.04/autoinstall/user-data similarity index 100% rename from misc/ubuntu20.04deploy/autoinstall/user-data rename to confluent_deploy/ubuntu20.04/autoinstall/user-data diff --git a/misc/ubuntu20.04deploy/conf/conf.d/confluent b/confluent_deploy/ubuntu20.04/initramfs/conf/conf.d/confluent similarity index 100% rename from misc/ubuntu20.04deploy/conf/conf.d/confluent rename to confluent_deploy/ubuntu20.04/initramfs/conf/conf.d/confluent diff --git a/misc/ubuntu20.04deploy/custom-installation/firstboot.sh b/confluent_deploy/ubuntu20.04/initramfs/custom-installation/firstboot.sh similarity index 100% rename from misc/ubuntu20.04deploy/custom-installation/firstboot.sh rename to confluent_deploy/ubuntu20.04/initramfs/custom-installation/firstboot.sh diff --git a/misc/ubuntu20.04deploy/custom-installation/hooks/casper-bottom.sh b/confluent_deploy/ubuntu20.04/initramfs/custom-installation/hooks/casper-bottom.sh similarity index 100% rename from misc/ubuntu20.04deploy/custom-installation/hooks/casper-bottom.sh rename to confluent_deploy/ubuntu20.04/initramfs/custom-installation/hooks/casper-bottom.sh diff --git a/misc/ubuntu20.04deploy/custom-installation/post.sh b/confluent_deploy/ubuntu20.04/initramfs/custom-installation/post.sh similarity index 100% rename from misc/ubuntu20.04deploy/custom-installation/post.sh rename to confluent_deploy/ubuntu20.04/initramfs/custom-installation/post.sh diff --git a/misc/ubuntu20.04deploy/custom-installation/pre.sh b/confluent_deploy/ubuntu20.04/initramfs/custom-installation/pre.sh similarity index 100% rename from misc/ubuntu20.04deploy/custom-installation/pre.sh rename to confluent_deploy/ubuntu20.04/initramfs/custom-installation/pre.sh diff --git a/misc/ubuntu20.04deploy/scripts/init-premount/confluent b/confluent_deploy/ubuntu20.04/initramfs/scripts/init-premount/confluent similarity index 100% rename from misc/ubuntu20.04deploy/scripts/init-premount/confluent rename to confluent_deploy/ubuntu20.04/initramfs/scripts/init-premount/confluent