mstflint/fix-race-condition-during-install.patch

48 lines
1.6 KiB
Diff
Raw Normal View History

commit f86bbb8e3d722796ac464910e8e6b79ebb638d39
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Date: Mon Oct 15 09:33:09 2018 +0200
fix race condition during install
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
diff --git dev_mgt/Makefile.am dev_mgt/Makefile.am
index 2283c2d1c763..2e4d7781e245 100644
--- dev_mgt/Makefile.am
+++ dev_mgt/Makefile.am
@@ -46,7 +46,7 @@ libdev_mgt_a_SOURCES = \
dev_mgt_pylibdir = $(libdir)/mstflint/python_tools/
-dev_mgt_pylib_DATA = c_dev_mgt.so dev_mgt.py
+dev_mgt_pylib_DATA = c_dev_mgt.so
dist_dev_mgt_pylib_DATA = dev_mgt.py
c_dev_mgt.so: libdev_mgt.a
diff --git mtcr_py/Makefile.am mtcr_py/Makefile.am
index 934b8030a229..da7d2aed878f 100644
--- mtcr_py/Makefile.am
+++ mtcr_py/Makefile.am
@@ -37,7 +37,7 @@ mtcr_pylibdir = $(libdir)/mstflint/python_tools/
USER_DIR = ..
MTCR_DIR = $(USER_DIR)/${MTCR_CONF_DIR}
-mtcr_pylib_DATA = cmtcr.so mtcr.py
+mtcr_pylib_DATA = cmtcr.so
dist_mtcr_pylib_DATA = mtcr.py
cmtcr.so:
$(CC) -g -Wall -pthread -shared ${CFLAGS} $(MTCR_DIR)/*.o -o cmtcr.so $(MFT_CORE_LIB_LINK)
diff --git reg_access/Makefile.am reg_access/Makefile.am
index c33bac653620..8783d2953a78 100644
--- reg_access/Makefile.am
+++ reg_access/Makefile.am
@@ -52,7 +52,7 @@ libmlxconfig_4th_gen_regsiters_a_LIBADD = $(libmlxconfig_4th_gen_regsiters_la_DE
RREG_ACCESS_SO = rreg_access.so
reg_access_pylibdir = $(libdir)/mstflint/python_tools/
-reg_access_pylib_DATA = ${RREG_ACCESS_SO} regaccess.py regaccess_structs.py
+reg_access_pylib_DATA = ${RREG_ACCESS_SO}
dist_reg_access_pylib_DATA = regaccess.py regaccess_structs.py
${RREG_ACCESS_SO}: libreg_access.a