[Mono-dev] Red Hat/Fedora packaging

Jonathan Pryor jonpryor at vt.edu
Tue May 12 11:26:15 EDT 2009


On Tue, 2009-05-12 at 07:36 -0400, Vladimir Giszpenc wrote:
> It really bothers me that Red Hat/Fedora considers CIL packages not to
> be noarch.  I would like to propose using the config file to allow
> relocating the aot-ed file to some arch dependent location.  The
> problem they have is that the aot-ed code must be side-by-side with
> the pre compiled assembly.

The fix for this isn't to use Foo.dll.config, as this just creates a
configuration burden on the system administrators.

A better approach would be to remove the requirement that the .so be in
the same directory as the CIL, and instead probe architecture-specific
directories for the AOT'd code, e.g.
${_libdir}/mono/aot/[???]/[assembly-name].so.  (Or see Perl for
additional ideas.)  This would allow AOT'd code to be kept in a separate
directory structure, thus satisfying Fedora's requirements.

The problem here is that this would be a code change, and the
requirements for this feature are lacking (and no one has really
complained about the situation before).  So, we have ideas, but no real
impetus to implement the ideas (and find out what limitations are
present and need further work).

So the best way to get the packaging guidelines fixed is to remove the
scenario Fedora is concerned about.  Do we have anyone interested in
prototyping and implementing this? :-)

 - Jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090512/56c98159/attachment.html 


More information about the Mono-devel-list mailing list