https://github.com/redhat-plumbers/dracut-rhel10/pull/30 And additonal fixes; respective commits: - fix(systemd-ask-password): do not half-install systemd-ask-password-wall - fix(pcsc): add libpcsclite_real.so.* Additional simple fixes. - revert: "fix(rescue): make rescue always no-hostonly" Do not use "add-confdir", as we do not package those configs. - fix(dracut-install): initize fts pointer Fix for compiler warning; https://github.com/dracut-ng/dracut-ng/pull/1229 - feat: add openssl module Needed for eDNS and fips. - build: make erofs the default requirement for squash subpackage Needed for squashfs removal. Resolves: RHEL-65204,RHEL-68935,RHEL-76323 From-source-git-commit: 9e216f2126a772e4b91b234c90d1debef797dced
27 lines
880 B
Diff
27 lines
880 B
Diff
From 2c33b7315571dd0fd8240111018ce474fc45f667 Mon Sep 17 00:00:00 2001
|
|
From: Pavel Valena <pvalena@redhat.com>
|
|
Date: Thu, 13 Feb 2025 22:18:06 +0100
|
|
Subject: [PATCH 12/13] 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 96bc2eb6..3cd4e5cb 100644
|
|
--- a/src/install/dracut-install.c
|
|
+++ b/src/install/dracut-install.c
|
|
@@ -1681,7 +1681,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.47.1
|
|
|