'relocatability' itself is broken anyhow. binreloc presumes FHS, which nobody follows except [K]ubuntu, especially for games. I, at least, plan to find a sane alternative sometime in 0.3. In the meantime, I have the ebuild manually disabling binreloc and hardcoding paths.z-man wrote:I'll have to revert your two path consistency changes, they broke relocatability.
Find something that works with it that doesn't break a regular install. I don't see how my change would even make a difference except in the non-default case where it was broken.
sysinstall does not change the location of scripts. It edits them in place.z-man wrote:The purpose of the sysinstall script is to rewrite some paths from the compiled prefix ${prefix} to the installation prefix ${PREFIX}. That I'm a braindead zombie is not the only reason why the installation process is so complicated
armascriptdir is built on armadatadir
armadatadir is built on datadir
datadir does not need to contain prefix
therefore, you cannot assume that armascriptdir will contain prefix, which it doesn't in this case. you can only assume it contains 'datadir', the most specific build-specifiable path.