File 0173-Follow-symbolic-links-for-kernel-arguments-bnc-90237.patch of Package dracut.892

From a1e686b0f08c8a071ff79aa921ceea5890466ebf Mon Sep 17 00:00:00 2001
From: Julian Wolf <juwolf@suse.de>
Date: Tue, 9 Dec 2014 17:49:24 +0100
Subject: Follow symbolic links for kernel arguments (bnc#902375)

Signed-off-by: Julian Wolf <juwolf@suse.de>
---
 mkinitrd-suse.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mkinitrd-suse.sh b/mkinitrd-suse.sh
index 5b32e6c..0f19279 100755
--- a/mkinitrd-suse.sh
+++ b/mkinitrd-suse.sh
@@ -211,6 +211,7 @@ while (($# > 0)); do
 	-k) # Would be nice to get a list of images here
 	    read_arg kernel_images "$@" || shift $?
 	    for kernel_image in $kernel_images;do
+		[ -L "/boot/$kernel_image" ] && kernel_image="$(readlink /boot/$kernel_image)"
 		kernels="$kernels ${kernel_image#*-}"
 	    done
 	    ;;
-- 
1.8.4.5