Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322444 - [eclipse-build] Make symlink to eclipse.ini relative
Summary: [eclipse-build] Make symlink to eclipse.ini relative
Status: RESOLVED WONTFIX
Alias: None
Product: Linux Tools
Classification: Tools
Component: eclipse-build (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.0   Edit
Assignee: Krzysztof Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 18:26 EDT by Andrew Overholt CLA
Modified: 2012-04-12 03:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Overholt CLA 2010-08-11 18:26:24 EDT
The rpmlint tool says that symlinks in an RPM should be relative.  For those RPM-based distributions which are using eclipse-build, it would be good if we made the symlink we provide:

  ${destDir}/usr/lib{,64}/eclipse/eclipse.ini -> /etc/eclipse.ini

be relative.  Something like this may work:

  ${destDir}/usr/lib{,64}/eclipse/eclipse.ini -> ../../../etc/eclipse.ini

User-specified ${destDir} and such should be taken into account when making this change.  Benjamin Drung has verified that the Debian packaging tools will turn a relative symlink such as this into an absolute symlink which satisfies lintian's requirements.
Comment 1 Alexander Kurtakov CLA 2012-04-11 17:45:44 EDT
Actually why should it be relative? I don't see this rpmlint warning and having it absolute looks as the right thing in this case.
Comment 2 Krzysztof Daniel CLA 2012-04-12 02:47:26 EDT
Investigating.
Comment 3 Krzysztof Daniel CLA 2012-04-12 03:41:56 EDT
Indeed there is no warning, and the eclipse.ini is expected to be in absolute location regardless of where the eclipse is actually installed. 

Leaving as is with no plan to change.