mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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>
This commit is contained in:
committed by
Joe MacDonald
parent
9fb708d875
commit
9f0eebd829
@@ -70,8 +70,10 @@ do_install () {
|
||||
|
||||
# The script ebtables-save refernces perl in exec_prefix, so
|
||||
# move it to sbindir to avoid QA issue
|
||||
install -d ${D}/${sbindir}
|
||||
mv ${D}/${base_sbindir}/ebtables-save ${D}/${sbindir}
|
||||
if ${base_sbindir} != ${sbindir} ; then
|
||||
install -d ${D}/${sbindir}
|
||||
mv ${D}/${base_sbindir}/ebtables-save ${D}/${sbindir}
|
||||
fi
|
||||
|
||||
# Install systemd service files
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
|
||||
Reference in New Issue
Block a user