dracut/0009-fix-dracut-install-initize-fts-pointer.patch
Pavel Valena 6d2b6c96ec batch of fixes 2026-01-30
Fixes:
  - fix(systemd-udevd): handle root=gpt-auto for systemd-v258
  - fix(systemd-repart): allow partition format
  - feat(install.d): do not remove UKIs on remove)
  - fix(dracut.install): remove extraneous quotes in dracut arguments
  - feat(i18n): pull 'drm' or 'simpledrm' module unless excluded

Additional changes:
 - remove redundant patch for test/container
 - include previously omitted test changes
 - patch renames because they're imported from source-git

Resolves: RHEL-111580,RHEL-111709,RHEL-113071,RHEL-119787,RHEL-132571

From-source-git-commit: 3048090e3ff7e9747936dd18e4557a4f1ebabdd6
2026-01-30 12:22:15 +01:00

27 lines
880 B
Diff

From 0466276d2dabc86dde6ac2ce4f5b6387292bc377 Mon Sep 17 00:00:00 2001
From: Pavel Valena <pvalena@redhat.com>
Date: Thu, 13 Feb 2025 22:18:06 +0100
Subject: [PATCH 09/31] fix(dracut-install): initize fts pointer
Related: RHEL-65204
---
src/install/dracut-install.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/install/dracut-install.c b/src/install/dracut-install.c
index bacbe86e..bd72f0b9 100644
--- a/src/install/dracut-install.c
+++ b/src/install/dracut-install.c
@@ -1703,7 +1703,7 @@ static void find_suppliers_for_sys_node(Hashmap *suppliers, const char *node_pat
static void find_suppliers(struct kmod_ctx *ctx)
{
- _cleanup_fts_close_ FTS *fts;
+ _cleanup_fts_close_ FTS *fts = NULL;
char *paths[] = { "/sys/devices/platform", NULL };
fts = fts_open(paths, FTS_NOSTAT | FTS_PHYSICAL, NULL);
--
2.52.0