diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-05-05 18:04:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-20 14:38:16 +0100 |
commit | 47975f07e5c7317045cfcd7a02fd2d7b766fa715 (patch) | |
tree | 4dca67b45c5f12bee115db6f876a05b6d9292b04 /meta/classes | |
parent | 025aabd28a2b6ae333fcf140684f5d33e599904f (diff) | |
download | poky-47975f07e5c7317045cfcd7a02fd2d7b766fa715.tar.gz |
cpio/tar/native.bbclass: move rmt to sbindir and add a prefix to avoid native clashing
The rmt in cpio-native and tar-native is clashing, since
tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt
to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir
could avoid the clashing.
And in Ubuntu, rmt is in sbindir
$ which rmt
/usr/sbin/rmt
(From OE-Core rev: 9f47cea3c58a53db8599f1be4ff4401406c00928)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/native.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index e9f6c740ab..d5b6f6af8b 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -89,6 +89,7 @@ export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 | |||
89 | 89 | ||
90 | NATIVE_PACKAGE_PATH_SUFFIX ?= "" | 90 | NATIVE_PACKAGE_PATH_SUFFIX ?= "" |
91 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 91 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
92 | sbindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | ||
92 | base_libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 93 | base_libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
93 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 94 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
94 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 95 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |