mirror of
https://github.com/ceph/ceph
synced 2025-01-12 06:00:46 +00:00
build: Respect TMPDIR for virtualenv.
Gentoo's normal build process uses a sandbox to catch writes outside the build environment; this includes providing a value other than /tmp for TMPDIR. Use TMPDIR by default for CEPH_BUILD_VIRTUALENV. Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
This commit is contained in:
parent
0b09e477a5
commit
dffd867285
@ -299,6 +299,8 @@ DENCODER_DEPS =
|
||||
|
||||
# put virtualenvs in this directory
|
||||
# otherwise it may overflow #! 80 kernel limit
|
||||
export CEPH_BUILD_VIRTUALENV = /tmp
|
||||
# beware that some build environments might not be able to write to /tmp
|
||||
export TMPDIR ?= /tmp
|
||||
export CEPH_BUILD_VIRTUALENV = $(TMPDIR)
|
||||
|
||||
radoslibdir = $(libdir)/rados-classes
|
||||
|
Loading…
Reference in New Issue
Block a user