Accepting request 1148818 from home:ngueorguiev:branches:Base:System

- Applied a patch for kdump initrd (bsc#1219471) 
  * s390-tools-sles15sp6-kdump-initrd-59-zfcp-compat-rules.patch

OBS-URL: https://build.opensuse.org/request/show/1148818
OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=195
This commit is contained in:
Nikolay Gueorguiev 2024-02-21 17:20:17 +00:00 committed by Git OBS Bridge
parent 51c2776a32
commit 0d94837b97
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From: Jiri Bohac <jbohac@suse.cz>
References: bsc#1219471
Subject: include 59-zfcp-compat.rules in kdump initrd
kdump uses a random one of the by-path symlinks to refer to the target
partition.
With 59-zfcp-compat.rules added to the SUSE package, symlinks in the form
/dev/disk/by-path/ccw-*.*.*-zfcp-*:*-part* are created. If kdump uses this symlink when generating
the kdump initrd it will fail on boot beacause the udev rule is missing in the kdump initrd
and the symlink not created in the kdump environment.
Fix this by including 59-zfcp-compat.rules in the kdump initrd.
--- a/zdev/dracut/95zdev-kdump/module-setup.sh 2024-02-21 15:57:33.027658387 +0100
+++ b/zdev/dracut/95zdev-kdump/module-setup.sh 2024-02-21 15:57:38.215675799 +0100
@@ -78,6 +78,7 @@
inst_multiple /lib/s390-tools/zdev-from-dasd_mod.dasd
inst_rules "59-dasd.rules"
+ inst_rules "59-zfcp-compat.rules"
# Obtain kdump target device configuration

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 21 17:02:55 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Applied a patch for kdump initrd (bsc#1219471)
* s390-tools-sles15sp6-kdump-initrd-59-zfcp-compat-rules.patch
-------------------------------------------------------------------
Wed Feb 21 11:12:33 CET 2024 - ro@suse.de

View File

@ -152,6 +152,7 @@ Patch909: s390-tools-sles12-fdasd-skip-partition-check-and-BLKRRPART-ioctl
Patch910: s390-tools-sles15sp1-11-zdev-Do-not-call-zipl-on-initrd-update.patch
Patch911: s390-tools-sles15sp5-remove-no-pie-link-arguments.patch
Patch912: s390-tools-ALP-zdev-live.patch
Patch913: s390-tools-sles15sp6-kdump-initrd-59-zfcp-compat-rules.patch
###
BuildRequires: curl-devel