[PATCH 08/33] 90multipath: Install libgcc_s library

Thomas Renninger
2014-11-20T14:56:43Z

From: Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>

multipathd is using pthreads, which require libgcc_s for
pthread_cancel to work. Without it multipathd might crash
with SIGABRT.

Signed-off-by: Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>
Signed-off-by: Thomas Renninger <trenn-l3A5Bk7waGM@public.gmane.org>
---
modules.d/90multipath/module-setup.sh | 1 +
1 file changed, 1 insertion(+)

diff --git a/modules.d/90multipath/module-setup.sh b/modules.d/90multipath/module-setup.sh
index 3c2e3a9..7a60b2e 100755
--- a/modules.d/90multipath/module-setup.sh
+++ b/modules.d/90multipath/module-setup.sh
@@ -87,6 +87,7 @@ install() {
inst $(command -v partx) /sbin/partx

inst_libdir_file "libmultipath*" "multipath/*"
+ inst_libdir_file 'libgcc_s.so*'

if dracut_module_included "systemd"; then
inst_multiple \
--
1.8.5.2