From 743788d02f842cae34dcdb093c129764b4e9f0e4 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Wed, 7 Jun 2023 08:59:07 +0200 Subject: [PATCH] zipl/dump: fix ngdump dracut helper script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While changing the helper script to create the ngdump filesystem, some lines were left in the script which now cause the zipl installation to fail: Run /lib/s390-tools/zipl_helper.prepare-ngdump /dev/disk/by-path/ccw-0.0.6a56-part1 0 Couldn't find disk by PARTUUID. Error: Script could not determine dump parameters Remove the superfluous lines to fix this. Fixes: 41108c98aa63 ("zipl: move mkfs to ngdump prepare script") Signed-off-by: Sven Schnelle Acked-by: Alexander Egorenkov Signed-off-by: Jan Höppner --- zipl/dracut/zipl_helper.prepare-ngdump | 5 ----- 1 file changed, 5 deletions(-) diff --git a/zipl/dracut/zipl_helper.prepare-ngdump b/zipl/dracut/zipl_helper.prepare-ngdump index 728bd167..92a27bc4 100755 --- a/zipl/dracut/zipl_helper.prepare-ngdump +++ b/zipl/dracut/zipl_helper.prepare-ngdump @@ -31,11 +31,6 @@ function create_dumpfs() echo "$disk_path" } -device=$(readlink -f $1) -disk_path=/dev/disk/by-partuuid/$(blkid -o value -s PARTUUID "$device") - -[ -e "$disk_path" ] || { echo "Couldn't find disk by PARTUUID." >&2; exit 1; } - function get_kernel_version() { local version=$(uname -r)