!113 同步上游社区补丁

From: @hongjinghao 
Reviewed-by: @jiayi0118 
Signed-off-by: @jiayi0118
This commit is contained in:
openeuler-ci-bot 2024-06-14 01:28:01 +00:00 committed by Gitee
commit 989846cc07
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,31 @@
From 5d2bda46f4e75e85445ee4d3bd3f68bf966287b9 Mon Sep 17 00:00:00 2001
From: Ihno Krumreich <ihno@suse.com>
Date: Wed, 28 Feb 2024 08:24:35 +0100
Subject: [PATCH] fix(zfcp_rules): correct shellcheck regression when parsing
ccw args
Fixes 032ecd95c94b77f3f08237e0f765b355dacb9573
Conflict:NA
Reference:https://github.com/dracutdevs/dracut/commit/5d2bda46f4e75e85445ee4d3bd3f68bf966287b9
---
modules.d/95zfcp_rules/parse-zfcp.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules.d/95zfcp_rules/parse-zfcp.sh b/modules.d/95zfcp_rules/parse-zfcp.sh
index 5e7d9095..a474b81b 100755
--- a/modules.d/95zfcp_rules/parse-zfcp.sh
+++ b/modules.d/95zfcp_rules/parse-zfcp.sh
@@ -63,7 +63,8 @@ for zfcp_arg in $(getargs root=) $(getargs resume=); do
if [ -n "$ccw_arg" ]; then
OLDIFS="$IFS"
IFS="-"
- set -- "$ccw_arg"
+ # shellcheck disable=SC2086
+ set -- $ccw_arg
IFS="$OLDIFS"
_wwpn=${4%:*}
_lun=${4#*:}
--
2.33.0

View File

@ -9,7 +9,7 @@
Name: dracut
Version: 059
Release: 6
Release: 7
Summary: Initramfs generator using udev
@ -39,6 +39,7 @@ Patch11: backport-fix-fs-lib-remove-quoting-form-the-first-argument-of.patch
Patch12: backport-feat-systemd-install-systemd-executor.patch
Patch6000: backport-fix-dracut.sh-remove-microcode-check-based-on-CONFIG.patch
Patch6001: backport-fix-zfcp_rules-correct-shellcheck-regression-when-pa.patch
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
Source2: openEuler.conf.example
@ -527,6 +528,9 @@ rm -f 51-dracut-rescue-postinst.sh
%endif
%changelog
* Thu Jun 13 2024 hongjinghao <hongjinghao@huawei.com> - 059-7
- backport update stream
* Thu Apr 18 2024 wangyuhang <wangyuhang27@huawei.com> - 059-6
- Backport patches to remove microcode check based on CONFIG_MICROCODE_[AMD|INTEL]