aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2019-12-20 20:05:04 +0530
committerSumit Garg <sumit.garg@linaro.org>2020-01-02 16:02:46 +0530
commit5122de099c028b08db569451d5543a87e79af598 (patch)
treedb6745a2282f5422268f983e8ac84966b3fce243
parent11e022bd85d5659aaf8e564955ef629b2c8eb88c (diff)
downloadmeta-linaro-5122de099c028b08db569451d5543a87e79af598.tar.gz
external-arm-toolchain: install missing toolchain binaries
ldconfig and sln binaries are packaged at toolchain location: ${EXTERNAL_TOOLCHAIN}/${EAT_TARGET_SYS}/libc/sbin/ and ldconfig is a dependency for systemd which leads to following error if not present: Error: Problem: package packagegroup-core-boot-1.0-r17.dragonboard_410c requires systemd, but none of the providers can be installed - conflicting requests - nothing provides ldconfig needed by systemd-1:243.2-r0.aarch64 So fix above error via installing the missing binaries. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: Icb8a33def9ad1995189918fa309a1dd5ee632486
-rw-r--r--meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb b/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
index 4a22980d..a5ada95a 100644
--- a/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
+++ b/meta-linaro-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb
@@ -70,6 +70,7 @@ do_install() {
touch ${S}/../makedbs.sh
install -d ${D}${base_libdir}
+ install -d ${D}${base_sbindir}
install -d ${D}${bindir}
install -d ${D}${sbindir}
install -d ${D}${libdir}
@@ -111,6 +112,7 @@ do_install() {
cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/${EAT_TARGET_SYS}/libc/usr/bin/* ${D}${bindir}
cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/${EAT_TARGET_SYS}/libc/usr/sbin/* ${D}${sbindir}
+ cp ${CP_ARGS} ${EXTERNAL_TOOLCHAIN}/${EAT_TARGET_SYS}/libc/sbin/* ${D}${base_sbindir}
rm -rf ${D}${bindir}/gdbserver
sed -i -e 's#/arm/tools/gnu/bash/4.2/rhe6-x86_64##' ${D}${bindir}/tzselect
sed -i -e 's#/arm/tools/gnu/bash/4.2/rhe6-x86_64##' ${D}${bindir}/ldd
@@ -221,6 +223,7 @@ do_install() {
# Remove if empty
rmdir ${D}${bindir} || true
rmdir ${D}${sbindir} || true
+ rmdir ${D}${base_sbindir} || true
}
# External toolchain doesn't provide multilib support so make corresponding