mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-17 03:10:38 +00:00
inetutils: Move files only when src != dst.
While moving files from ${bindir} to ${base_bindir} 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
1a63d1dcf3
commit
9fb708d875
@@ -58,14 +58,16 @@ do_configure_prepend () {
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
install -m 0755 -d ${D}${base_bindir}
|
||||
install -m 0755 -d ${D}${base_sbindir}
|
||||
install -m 0755 -d ${D}${sbindir}
|
||||
install -m 0755 -d ${D}${sysconfdir}/xinetd.d
|
||||
mv ${D}${bindir}/ping* ${D}${base_bindir}/
|
||||
if [ "${base_bindir}" != "${bindir}" ] ; then
|
||||
install -m 0755 -d ${D}${base_bindir}
|
||||
mv ${D}${bindir}/ping* ${D}${base_bindir}/
|
||||
mv ${D}${bindir}/hostname ${D}${base_bindir}/
|
||||
fi
|
||||
mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/
|
||||
mv ${D}${libexecdir}/syslogd ${D}${base_sbindir}/
|
||||
mv ${D}${bindir}/hostname ${D}${base_bindir}/
|
||||
mv ${D}${libexecdir}/tftpd ${D}${sbindir}/in.tftpd
|
||||
mv ${D}${libexecdir}/telnetd ${D}${sbindir}/in.telnetd
|
||||
mv ${D}${libexecdir}/rexecd ${D}${sbindir}/in.rexecd
|
||||
|
||||
Reference in New Issue
Block a user