summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-filter
diff options
context:
space:
mode:
authorAmarnath Valluri <amarnath.valluri@intel.com>2017-02-23 11:05:37 +0200
committerJoe MacDonald <joe_macdonald@mentor.com>2017-03-23 08:26:59 -0400
commit9f0eebd8294713ac3b4571a0a635ecad85d9db7f (patch)
tree4001517e1ed8f0085f9372d7efbf67b379c4a5fd /meta-networking/recipes-filter
parent9fb708d87594dea8dff64de8b860611bea2e456d (diff)
downloadmeta-openembedded-9f0eebd8294713ac3b4571a0a635ecad85d9db7f.tar.gz
ebtables: Move files only when src != dst.
While moving files from ${base_sbindir} to ${sbindir} check if both are same. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-filter')
-rw-r--r--meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
index d24b81bc1..f5e28714e 100644
--- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
+++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb
@@ -70,8 +70,10 @@ do_install () {
70 70
71 # The script ebtables-save refernces perl in exec_prefix, so 71 # The script ebtables-save refernces perl in exec_prefix, so
72 # move it to sbindir to avoid QA issue 72 # move it to sbindir to avoid QA issue
73 install -d ${D}/${sbindir} 73 if ${base_sbindir} != ${sbindir} ; then
74 mv ${D}/${base_sbindir}/ebtables-save ${D}/${sbindir} 74 install -d ${D}/${sbindir}
75 mv ${D}/${base_sbindir}/ebtables-save ${D}/${sbindir}
76 fi
75 77
76 # Install systemd service files 78 # Install systemd service files
77 install -d ${D}${systemd_unitdir}/system 79 install -d ${D}${systemd_unitdir}/system