From 72d52c56b711c4683100a6ab6a250823bbdde2da Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 7 May 2020 09:35:32 -0400 Subject: [PATCH] Fix build problem for osdeploy addons.cpio was erroneously stepping on itself. --- confluent_osdeploy/confluent_osdeploy.spec.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/confluent_osdeploy/confluent_osdeploy.spec.tmpl b/confluent_osdeploy/confluent_osdeploy.spec.tmpl index 593bd549..cd26680f 100644 --- a/confluent_osdeploy/confluent_osdeploy.spec.tmpl +++ b/confluent_osdeploy/confluent_osdeploy.spec.tmpl @@ -30,7 +30,8 @@ for os in el8 suse15 ubuntu20.04; do cd ${os}out cp -a ../opt . cp -a ../${os}/initramfs/* . - find . | cpio -H newc -o > addons.cpio + find . | cpio -H newc -o > ../addons.cpio + mv ../addons.cpio . cd .. done