aboutsummaryrefslogtreecommitdiffstats
path: root/patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-06-02 18:37:10 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-06-02 18:39:08 +0200
commit1cd256dbaf85e4abaf8fb4250e0cb029be43e89a (patch)
treee338a25a17092329c3096b162e88c07755f89e11 /patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch
parent531f18918366d02a8a1c86576556e02eee59e8c9 (diff)
nailgun-agent: AArch64: Allow platform bus storage
While at it, transform all Armband patche for fuel-nailgun-agent into Debian patches. Change-Id: I3147ea151244158d2a4bef875008ef2fa0e49377 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch')
-rw-r--r--patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch b/patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch
index 7067a977..71831021 100644
--- a/patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch
+++ b/patches/fuel-nailgun-agent/0001-ohai-Support-reading-L1-info-from-ethtool.patch
@@ -51,7 +51,7 @@ index 0000000..8ae8c49
+index c764a68..978131f 100755
+--- a/agent
++++ b/agent
-+@@ -316,7 +316,11 @@ class NodeAgent
++@@ -602,7 +602,11 @@ class NodeAgent
+ int_meta[:current_speed] = int_info.current_mode.speed
+ end
+ rescue
@@ -62,8 +62,8 @@ index 0000000..8ae8c49
++ int_meta[:current_speed] = nil
++ end
+ end
-+ elsif (addrinfo[:family] rescue nil) =~ /^inet$/
-+ int_meta[:ip] = addr
++
++ unless int_meta[:driver]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b221a98