Blame 0016-90multipath-Install-libgcc_s-library.patch

Harald Hoyer eeb1c2
From cf864c1b8009f4544e6b494979bf396bafcd8834 Mon Sep 17 00:00:00 2001
Harald Hoyer eeb1c2
From: Hannes Reinecke <hare@suse.de>
Harald Hoyer eeb1c2
Date: Thu, 20 Nov 2014 15:56:43 +0100
Harald Hoyer eeb1c2
Subject: [PATCH] 90multipath: Install libgcc_s library
Harald Hoyer eeb1c2
Harald Hoyer eeb1c2
multipathd is using pthreads, which require libgcc_s for
Harald Hoyer eeb1c2
pthread_cancel to work. Without it multipathd might crash
Harald Hoyer eeb1c2
with SIGABRT.
Harald Hoyer eeb1c2
Harald Hoyer eeb1c2
Signed-off-by: Hannes Reinecke <hare@suse.de>
Harald Hoyer eeb1c2
Signed-off-by: Thomas Renninger <trenn@suse.de>
Harald Hoyer eeb1c2
---
Harald Hoyer eeb1c2
 modules.d/90multipath/module-setup.sh | 1 +
Harald Hoyer eeb1c2
 1 file changed, 1 insertion(+)
Harald Hoyer eeb1c2
Harald Hoyer eeb1c2
diff --git a/modules.d/90multipath/module-setup.sh b/modules.d/90multipath/module-setup.sh
Harald Hoyer eeb1c2
index c86c5d9..a547c07 100755
Harald Hoyer eeb1c2
--- a/modules.d/90multipath/module-setup.sh
Harald Hoyer eeb1c2
+++ b/modules.d/90multipath/module-setup.sh
Harald Hoyer eeb1c2
@@ -87,6 +87,7 @@ install() {
Harald Hoyer eeb1c2
     inst $(command -v partx) /sbin/partx
Harald Hoyer eeb1c2
 
Harald Hoyer eeb1c2
     inst_libdir_file "libmultipath*" "multipath/*"
Harald Hoyer eeb1c2
+    inst_libdir_file 'libgcc_s.so*'
Harald Hoyer eeb1c2
 
Harald Hoyer eeb1c2
     if dracut_module_included "systemd"; then
Harald Hoyer eeb1c2
         inst_multiple \