[Buildroot] [PATCH 1/1] mono: remove copy of host etc files on install

Angelo Compagnucci angelo.compagnucci at gmail.com
Mon May 22 14:52:06 UTC 2017


2017-03-15 3:24 GMT+01:00 Dustin Johnson <dustin.r.johnson at gmail.com>:
> 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>
> ---
>  package/mono/mono.mk | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/package/mono/mono.mk b/package/mono/mono.mk
> index 20b920568..4996b7c60 100644
> --- a/package/mono/mono.mk
> +++ b/package/mono/mono.mk
> @@ -31,7 +31,6 @@ MONO_CONF_OPTS = --disable-gtk-doc \
>  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
> --
> 2.12.0.windows.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo



More information about the buildroot mailing list