From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 4 Oct 2019 13:28:47 -0400 Subject: [U-Boot] [PATCH 2/3] gitlab-ci: Have buildman use /tmp for output In-Reply-To: <5325503d-6f2f-c759-e8f7-456fb7cc2e19@wwwdotorg.org> References: <20191004161254.22362-1-trini@konsulko.com> <20191004161254.22362-2-trini@konsulko.com> <5325503d-6f2f-c759-e8f7-456fb7cc2e19@wwwdotorg.org> Message-ID: <20191004172847.GD15735@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Oct 04, 2019 at 10:34:05AM -0600, Stephen Warren wrote: > On 10/4/19 10:12 AM, Tom Rini wrote: > > When running as another user we might not be able to use '..' for > > certain directories and this is the default for buildman. Specify an > > output directory instead. > > What if multiple invocations run in parallel on the same machine? They'll > use the same path and collide. What about using mkdtemp() or similar? Within the confines of gitlab (as this runs in a container), that's not possible and this is no less safe than today. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: