From a3f40e2982201c6bbf0a9d7ca46a323fb4479960 Mon Sep 17 00:00:00 2001 From: Timothy Middelkoop Date: Wed, 29 Apr 2026 16:36:23 -0500 Subject: [PATCH] Fix el8/el9 hook paths corrupted by symlinked el10 in aarch64 spec In confluent_osdeploy-aarch64.spec.tmpl, el10 was created as a symlink to el8, so the subsequent `mv el10/initramfs/usr el10/initramfs/var` inadvertently renamed el8's usr directory, leaving el8 and el9 (also symlinked to el8) with hooks at var/lib/dracut/hooks/ instead of usr/lib/dracut/hooks/. Rocky 9 dracut never found the hooks and dropped to the emergency shell on all aarch64 nodes. Use `cp -a el8 el10` as the x86_64 spec already does, so the rename only affects the el10 copy. Co-authored-by: Claude Signed-off-by: Timothy Middelkoop --- confluent_osdeploy/confluent_osdeploy-aarch64.spec.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/confluent_osdeploy-aarch64.spec.tmpl b/confluent_osdeploy/confluent_osdeploy-aarch64.spec.tmpl index 7ebbf28d..e9536b1a 100644 --- a/confluent_osdeploy/confluent_osdeploy-aarch64.spec.tmpl +++ b/confluent_osdeploy/confluent_osdeploy-aarch64.spec.tmpl @@ -26,7 +26,7 @@ mkdir -p opt/confluent/bin mkdir -p stateless-bin cp -a el8bin/* . ln -s el8 el9 -ln -s el8 el10 +cp -a el8 el10 cp -a debian debian13 mkdir -p debian13/initramfs/usr mv debian13/initramfs/lib debian13/initramfs/usr/