commit | 5aa1c54312fdaf541c70932900fb3c80145592e1 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Fri Sep 18 01:02:33 2015 -0700 |
committer | Alex Deymo <deymo@google.com> | Fri Sep 18 10:36:02 2015 -0700 |
tree | 5a6991714e9262e2fd0fa08d3c471e807154afec | |
parent | 31d95ac85d294b2b1bfa293835013e66c010fbcf [diff] |
Create temporary files in the system's temp directory. In Brillo, the temporary directory might not be /tmp. This patch uses base::GetTempDir() instead and removes the hard-coded mentions of /tmp when creating temporary directories. Bug: 22024447 Test: `update_engine_client --update --omaha_url=...` mounts /system on the temp directory under /data/local/tmp Change-Id: Ibb52cae01419511f91bdfbf6f228b74a581edde9