]> code.ossystems Code Review - openembedded-core.git/commit
dpkg: add nativesdk support
authorhongxu <hongxu.jia@windriver.com>
Sat, 16 Jan 2021 03:47:19 +0000 (11:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Jan 2021 22:39:17 +0000 (22:39 +0000)
commita69eee72b25411880146821fe4ec07be4704afee
tree22823930242021ef91a9dbb6d52e0d7d9cf00b5e
parentbe36b825ada573b2a7df9884eaab78664928594a
dpkg: add nativesdk support

- Add nativesdk support and override EXTRA_OECONF and PROV for
nativesdk

- Replace ${bindir} with ${STAGING_BINDIR_NATIVE} for perl-native
shebang to fix QA error of shebang too long in nativesdk build

- Conditionally (except musl) add ldconfig to runtime depends to
fix the following issue on target
[snip]
...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and/sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
[snip]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dpkg/dpkg.inc