While we're at if, fix whitespace errors in affected patches.
Change-Id: Ic14e3e13f9503ab4b9307e55c731825b8a33da3b
LOG.info("Try to build image with data:\n%s", yaml.safe_dump(bootdata))
- opts = ['--data_driver', 'bootstrap_build_image']
-+ opts = ['--data_driver', 'bootstrap_build_image',
++ opts = ['--data_driver', 'bootstrap_build_image',
+ '--target_arch', data['target_arch']]
if data.get('image_build_dir'):
opts.extend(['--image_build_dir', data['image_build_dir']])
index 0000000..c72efeb
--- /dev/null
+++ b/deployment_scripts/puppet/modules/opendaylight/files/leveldb-arm64.patch
-@@ -0,0 +1,36 @@
+@@ -0,0 +1,35 @@
+diff --git a/port/atomic_pointer.h b/port/atomic_pointer.h
+index e17bf43..78cb6b3 100644
+--- a/port/atomic_pointer.h
+ #undef ARCH_CPU_PPC_FAMILY
+
+ } // namespace port
-+
diff --git a/deployment_scripts/puppet/modules/opendaylight/files/leveldbjni-native.patch b/deployment_scripts/puppet/modules/opendaylight/files/leveldbjni-native.patch
new file mode 100644
index 0000000..7520205
+--- a/leveldbjni-all/pom.xml
++++ b/leveldbjni-all/pom.xml
+@@ -41,7 +41,7 @@
-+
++
+ <groupId>org.fusesource.leveldbjni</groupId>
+ <artifactId>leveldbjni-all</artifactId>
+- <version>1.8</version>
++ <version>1.8-odl</version>
+ <packaging>bundle</packaging>
-+
++
+ <name>${project.artifactId}</name>
+@@ -119,7 +119,8 @@
+ META-INF/native/osx/libleveldbjni.jnilib;osname=macosx;processor=x86,
+ ensure => 'present',
+ }
+ }
-+ if ! defined(Package['openjdk-7-jdk']) {
++ if ! defined(Package['openjdk-7-jdk']) {
+ package { 'openjdk-7-jdk':
+ ensure => 'present',
+ }
+ echo "Error - didn't find backup file for Packages for ${arch}!"
+ exit 1
+ fi
-+
++
+ if [ ! -f $REPO/dists/trusty/main/binary-${arch}/Packages.gz.backup ]; then
+ echo "Error - didn't find backup file for Packages.gz for ${arch}!"
+ exit 1
##############################################################################
-ODL_BRANCH=brahmaputra-sr2
--ODL_CHANGE=b876df2345bf8c785dceea74f4c271fdfcc9563c
+-ODL_CHANGE=ec9474c1178e7451ec75f6e306ac84424a84a28a
-ODL_REPO="https://github.com/openstack/fuel-plugin-opendaylight.git"
+ODL_BRANCH:=brahmaputra-sr2
-+ODL_CHANGE:=b876df2345bf8c785dceea74f4c271fdfcc9563c
++ODL_CHANGE:=ec9474c1178e7451ec75f6e306ac84424a84a28a
+ODL_REPO:="https://github.com/openstack/fuel-plugin-opendaylight.git"
export USE_JAVA8=true