Change location of generated repo to outside the run directory.
commitcff41ef90d5e956550bfbde14849771a9a58153a
authorMichael O'Farrell <michaelofarrell@fb.com>
Tue, 13 Dec 2016 22:14:45 +0000 (13 14:14 -0800)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Thu, 15 Dec 2016 20:24:27 +0000 (15 12:24 -0800)
tree87570ecd8b17a046ada45cdeca09769f4c560fc1
parentaf801dc9ce822818ea382719119b7b675697f6dd
Change location of generated repo to outside the run directory.

Summary:
The run directory is erased on reboot.  This causes a problem with the oss-repo-mode script if the user has not already specified a repo location.  After a server reboot HHVM will fail to come up as it cannot find the repo.  Moving the default repo location into the cache folder should allow it to persist across reboots.

see https://github.com/facebook/hhvm/issues/7504

Reviewed By: aorenste

Differential Revision: D4322062

fbshipit-source-id: 20cae24a97567cf45b1bbf15a6282f61ab6dca0c
hphp/tools/oss-repo-mode