diff options
-rw-r--r-- | meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb index 99a42359b8..be267351e3 100644 --- a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb +++ b/meta/recipes-extended/net-tools/net-tools_1.60-26.bb | |||
@@ -93,6 +93,17 @@ do_install() { | |||
93 | unset CFLAGS | 93 | unset CFLAGS |
94 | unset LDFLAGS | 94 | unset LDFLAGS |
95 | oe_runmake 'BASEDIR=${D}' install | 95 | oe_runmake 'BASEDIR=${D}' install |
96 | |||
97 | if [ "${base_bindir}" != "/bin" ]; then | ||
98 | mkdir -p ${D}/${base_bindir} | ||
99 | mv ${D}/bin/* ${D}/${base_bindir}/ | ||
100 | rmdir ${D}/bin | ||
101 | fi | ||
102 | if [ "${base_sbindir}" != "/sbin" ]; then | ||
103 | mkdir ${D}/${base_sbindir} | ||
104 | mv ${D}/sbin/* ${D}/${base_sbindir}/ | ||
105 | rmdir ${D}/sbin | ||
106 | fi | ||
96 | } | 107 | } |
97 | 108 | ||
98 | inherit update-alternatives | 109 | inherit update-alternatives |