Merge "Upstream: ODL file limit patch was merged upstream"
[armband.git] / patches / fuel-plugin-opendaylight / 0001-arm64-support-for-OpenDaylight-Fuel-Plugin.patch
index b439b38..a9a9387 100644 (file)
@@ -12,7 +12,7 @@ https://bugs.opendaylight.org/show_bug.cgi?id=3973
 
 Signed-off-by: Florin Dumitrascu <florin.dumitrascu@enea.com>
 ---
- .../modules/opendaylight/files/leveldb-arm64.patch |  36 +++++
+ .../modules/opendaylight/files/leveldb-arm64.patch |  35 +++++
  .../opendaylight/files/leveldbjni-native.patch     |  23 ++++
  .../puppet/modules/opendaylight/manifests/init.pp  |   8 ++
  .../modules/opendaylight/manifests/install.pp      |  12 +-
@@ -20,17 +20,17 @@ Signed-off-by: Florin Dumitrascu <florin.dumitrascu@enea.com>
  deployment_tasks.yaml                              |   2 +-
  odl_package/ubuntu/opendaylight                    |   4 +-
  pre_build_hook                                     |   9 +-
- 8 files changed, 235 insertions(+), 9 deletions(-)
+ 8 files changed, 234 insertions(+), 9 deletions(-)
  create mode 100644 deployment_scripts/puppet/modules/opendaylight/files/leveldb-arm64.patch
  create mode 100644 deployment_scripts/puppet/modules/opendaylight/files/leveldbjni-native.patch
  create mode 100644 deployment_scripts/puppet/modules/opendaylight/manifests/leveldbjni.pp
 
 diff --git a/deployment_scripts/puppet/modules/opendaylight/files/leveldb-arm64.patch b/deployment_scripts/puppet/modules/opendaylight/files/leveldb-arm64.patch
 new file mode 100644
-index 0000000..c72efeb
+index 0000000..e0824ca
 --- /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
@@ -66,10 +66,9 @@ index 0000000..c72efeb
 + #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
+index 0000000..08a528b
 --- /dev/null
 +++ b/deployment_scripts/puppet/modules/opendaylight/files/leveldbjni-native.patch
 @@ -0,0 +1,23 @@
@@ -78,13 +77,13 @@ 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,
@@ -151,7 +150,7 @@ index 7a3bf3f..f9bba56 100644
  }
 diff --git a/deployment_scripts/puppet/modules/opendaylight/manifests/leveldbjni.pp b/deployment_scripts/puppet/modules/opendaylight/manifests/leveldbjni.pp
 new file mode 100644
-index 0000000..c708611
+index 0000000..c599370
 --- /dev/null
 +++ b/deployment_scripts/puppet/modules/opendaylight/manifests/leveldbjni.pp
 @@ -0,0 +1,150 @@
@@ -215,7 +214,7 @@ index 0000000..c708611
 +      ensure => 'present',
 +    }
 +  }
-+  if ! defined(Package['openjdk-7-jdk']) { 
++  if ! defined(Package['openjdk-7-jdk']) {
 +    package { 'openjdk-7-jdk':
 +      ensure => 'present',
 +    }