Install platform SDK targets to locations other than /srv/mer [feature request]

asked 2017-02-09 22:30:24 +0300

ArmsOfSorrow gravatar image

While "The Platform SDK can be installed to any location with enough space" as the wiki says, targets are always installed to /srv/mer/targets. The problem in my case is, that it lies on the / partition, which is no more than 10GB.

I've tried to change the sdk-manage script to use the PLATFORM_SDK_ROOT variable, but for some reason it is not bound there whereas it is in my own test script. For now I've just specified the absolute path to the directory I want to install my targets to, but it'd be nice if the script just installed everything into PLATFORM_SDK_ROOT.

edit retag flag offensive close delete

Comments

why can't you just remount /srv to different location?

coderus ( 2017-02-09 22:56:49 +0300 )edit

You mean moving /srv to a different partition? Or rather symlinking /srv to some folder on an adequately spaced partition?

I could try the second approach, I'm sure as hell not messing with my partitioning just because of a hardcoded path. Then again, I've already changed to another hardcoded path, which was inside my home directory and everything worked.

The problem is maintenance, if there's an SDK update, I'd have to make that change again. Which is why I'm asking in the first place, as it is not that complicated of a change from an implementation standpoint.

ArmsOfSorrow ( 2017-02-09 23:39:24 +0300 )edit