From dc09b87a1fbfcdee98df5418349b745bfcdd7eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Fri, 5 Jan 2024 15:04:12 +0100 Subject: [PATCH] Update dracut/99setup-root/initrd-setup-root-after-ignition --- dracut/99setup-root/initrd-setup-root-after-ignition | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut/99setup-root/initrd-setup-root-after-ignition b/dracut/99setup-root/initrd-setup-root-after-ignition index fd348b7..e57d09d 100755 --- a/dracut/99setup-root/initrd-setup-root-after-ignition +++ b/dracut/99setup-root/initrd-setup-root-after-ignition @@ -13,7 +13,7 @@ function download_and_verify() { # Expects the env vars: FLATCAR_BOARD, VERSION local final_name="$1" local extracted_name="${final_name}" - local name="${final_name/.raw/.gz}" + local name="${final_name/%.raw/.gz}" local URL="https://update.release.flatcar-linux.net/${FLATCAR_BOARD}/${VERSION}/${name}" # Check for scripts:sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-au-key/files/developer-v1.pub.pem if [ "$(usrbin md5sum /sysroot/usr/share/update_engine/update-payload-key.pub.pem | cut -d " " -f 1)" = "7192addf4a7f890c0057d21653eff2ea" ]; then