Make nova build reproducible

Whilst working on the Reproducible Builds effort [0], the team
noticed that nova could not be built reproducibly as the docs etc
contain the absolute build path.

This was originally filed in Debian as #892420 [1], and I'm here
only forwarding the patch.

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/892420

Change-Id: Ia50c549da9e8ca44d19adb72dd87711da00df210
Signed-off-by: Chris Lamb <lamby@debian.org>
This commit is contained in:
Thomas Goirand 2018-03-09 13:12:39 +01:00
parent 5eb1ece537
commit c302887170

View File

@ -24,6 +24,7 @@ ALL_OPTS = [
cfg.StrOpt('pybasedir', cfg.StrOpt('pybasedir',
default=os.path.abspath(os.path.join(os.path.dirname(__file__), default=os.path.abspath(os.path.join(os.path.dirname(__file__),
'../../')), '../../')),
sample_default='<Path>',
help=""" help="""
The directory where the Nova python modules are installed. The directory where the Nova python modules are installed.