[PKG-Openstack-devel] Bug#892420: nova: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Mar 9 00:07:51 UTC 2018


Source: nova
Version: 2:17.0.0~rc1-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch	1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/reproducible-build.patch	2018-03-08 16:02:34.172527581 -0800
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2018-03-08
+
+--- nova-17.0.0~rc1.orig/nova/conf/paths.py
++++ nova-17.0.0~rc1/nova/conf/paths.py
+@@ -22,6 +22,7 @@ from oslo_config import cfg
+ 
+ ALL_OPTS = [
+     cfg.StrOpt('pybasedir',
++        sample_default='<Path>',
+         default=os.path.abspath(os.path.join(os.path.dirname(__file__),
+                                              '../../')),
+         help="""
--- a/debian/patches/series	2018-03-08 15:12:30.939719515 -0800
--- b/debian/patches/series	2018-03-08 16:02:32.928431102 -0800
@@ -3,3 +3,4 @@
 python3-fix-for-sphinx-doc.patch
 Fix_PatternPropertiesTestCase_for_py3.6.patch
 remove-crashing-blockdiag-doc-line.patch
+reproducible-build.patch


More information about the Openstack-devel mailing list