Blame 0037-95iscsi-Install-libgcc_s-library.patch
|
Harald Hoyer |
b94732 |
From 4aad3438f7e9fcd58f6c65d2d0d52c0a0db1f00a Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
b94732 |
From: Hannes Reinecke <hare@suse.de>
|
|
Harald Hoyer |
b94732 |
Date: Thu, 11 Dec 2014 15:45:58 +0100
|
|
Harald Hoyer |
b94732 |
Subject: [PATCH] 95iscsi: Install libgcc_s library
|
|
Harald Hoyer |
b94732 |
|
|
Harald Hoyer |
b94732 |
iscsiuio is using pthread, which requires libgcc_s for
|
|
Harald Hoyer |
b94732 |
pthread_cancel to work.
|
|
Harald Hoyer |
b94732 |
Without this library iscsiuio will crash with SIGABRT.
|
|
Harald Hoyer |
b94732 |
|
|
Harald Hoyer |
b94732 |
References: bnc#881692
|
|
Harald Hoyer |
b94732 |
|
|
Harald Hoyer |
b94732 |
Signed-off-by: Hannes Reinecke <hare@suse.de>
|
|
Harald Hoyer |
b94732 |
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
|
Harald Hoyer |
b94732 |
---
|
|
Harald Hoyer |
b94732 |
modules.d/95iscsi/module-setup.sh | 1 +
|
|
Harald Hoyer |
b94732 |
1 file changed, 1 insertion(+)
|
|
Harald Hoyer |
b94732 |
|
|
Harald Hoyer |
b94732 |
diff --git a/modules.d/95iscsi/module-setup.sh b/modules.d/95iscsi/module-setup.sh
|
|
Harald Hoyer |
b94732 |
index 5d2a39b..3641fb8 100755
|
|
Harald Hoyer |
b94732 |
--- a/modules.d/95iscsi/module-setup.sh
|
|
Harald Hoyer |
b94732 |
+++ b/modules.d/95iscsi/module-setup.sh
|
|
Harald Hoyer |
b94732 |
@@ -106,6 +106,7 @@ cmdline() {
|
|
Harald Hoyer |
b94732 |
install() {
|
|
Harald Hoyer |
b94732 |
inst_multiple umount iscsistart hostname iscsi-iname
|
|
Harald Hoyer |
b94732 |
inst_multiple -o iscsiuio
|
|
Harald Hoyer |
b94732 |
+ inst_libdir_file 'libgcc_s.so*'
|
|
Harald Hoyer |
b94732 |
inst_hook cmdline 90 "$moddir/parse-iscsiroot.sh"
|
|
Harald Hoyer |
b94732 |
inst_hook cleanup 90 "$moddir/cleanup-iscsi.sh"
|
|
Harald Hoyer |
b94732 |
inst "$moddir/iscsiroot.sh" "/sbin/iscsiroot"
|