From 7c571edf84d8f9129a3f0f44b80ecebd72531c70 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. --- 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 e48c6fe6ed..e53bdf8d29 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 cd25bea3d4..ad7e80fdf8 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 }