From 29f6f3a2d06d52a5ce05f150db9a48cf6101f961 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 12 Jul 2023 14:16:48 -0400 Subject: [PATCH] dracut: make hv_utils module optional It only exists on x86 and aarch64. The conventional way to handle this is to omit the -c flag, silently ignoring installation failures. Fixes: https://github.com/coreos/ignition/issues/1671 Fixes: d304850c3d ("Add support for Hyper-V platform") --- docs/release-notes.md | 7 +++++++ dracut/30ignition/module-setup.sh | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index e48c6fe6e..e53bdf8d2 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -19,6 +19,13 @@ nav_order: 9 +## Ignition 2.16.2 (2023-07-12) + +### Bug fixes + +- Fix Dracut module installation on arches other than x86 and aarch64 + + ## Ignition 2.16.1 (2023-07-10) ### Bug fixes diff --git a/dracut/30ignition/module-setup.sh b/dracut/30ignition/module-setup.sh index cd25bea3d..ad7e80fdf 100755 --- a/dracut/30ignition/module-setup.sh +++ b/dracut/30ignition/module-setup.sh @@ -99,5 +99,5 @@ install() { installkernel() { # required by hyperv platform to read kvp from the kernel - instmods -c hv_utils + instmods hv_utils }