[Buildroot] [git commit branch/2017.02.x] mono: remove copy of host etc files on install

Peter Korsgaard peter at korsgaard.com
Thu Jun 1 14:13:46 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=60dc5bd64f387d7936327f291c410cc665f8f8f9
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

When the mono package is installed, the autotools installer installs
the /etc/mono files to the target. A post_install hook then copies
over the mono libraries to the target as well as the host /etc/mono
files which overrides the target files. The target specific mono
configuration file (/etc/mono/config) is overridden with the host
settings. This causes mono on the target to be unable to locate target
specific .so files as it overrides the changes enacted by the patches
for the package.

Signed-off-by: Dustin Johnson <dustin.r.johnson at gmail.com>
Tested-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
Reviewed-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
Acked-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 675101b0fe3e751b447818d8ce8d0d009bd39b25)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/mono/mono.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/mono/mono.mk b/package/mono/mono.mk
index 866bff2..4f39c0f 100644
--- a/package/mono/mono.mk
+++ b/package/mono/mono.mk
@@ -29,7 +29,6 @@ MONO_CONF_OPTS = --with-mcs-docs=no \
 define MONO_INSTALL_LIBS
 	rsync -av --exclude=*.so --exclude=*.mdb \
 		$(HOST_DIR)/usr/lib/mono $(TARGET_DIR)/usr/lib/
-	rsync -av $(HOST_DIR)/etc/mono $(TARGET_DIR)/etc
 endef
 
 MONO_POST_INSTALL_TARGET_HOOKS += MONO_INSTALL_LIBS


More information about the buildroot mailing list