From a0a58872141d1fcb8483dff87a7c249c555d6a3b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 15 Jan 2026 13:27:21 -0500 Subject: [PATCH] Fallback to filename for PE format kernels Some ARM64 kernels ship as EFI executables, but it's not obvious how to extract version numbers from those properly. --- .../initramfs/usr/lib/dracut/hooks/pre-trigger/01-confluent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/pre-trigger/01-confluent.sh b/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/pre-trigger/01-confluent.sh index f8b576a2..8505c6df 100644 --- a/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/pre-trigger/01-confluent.sh +++ b/confluent_osdeploy/el8/initramfs/usr/lib/dracut/hooks/pre-trigger/01-confluent.sh @@ -211,7 +211,7 @@ v6cfg=$(grep ^ipv6_method: /etc/confluent/confluent.deploycfg) v6cfg=${v6cfg#ipv6_method: } v4cfg=$(grep ^ipv4_method: /etc/confluent/confluent.deploycfg) v4cfg=${v4cfg#ipv4_method: } -if [ "$v4cfg" = "static" ] || [ "$v4cfg" = "dhcp" ]; then +if [ "$v4cfg" = "static" ] || [ "$v4cfg" = "dhcp" ]; then # someone might feed 'manual' in or other such nonsense mgr=$(grep ^deploy_server: /etc/confluent/confluent.deploycfg) mgr=${mgr#deploy_server: } fi