optee-os.inc: support multilib
PATCH 1/1 optee-os.inc: support multilib
From: Changqing Li <[email protected]>
Run command: bitbake optee-os && bitbake lib32-optee-os
bitbake lib32-optee-os will fail with following error since
bitbake optee-os already deploy same file under the path.
RROR: lib32-optee-os-3.12.0+gitAUTOINC+3d47a131bc-r0 do_deploy: The recipe lib32-optee-os is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/build/tmp-glibc/deploy/images/qemuarm64/optee/tee.elf
(matched in manifest-qemuarm64-optee-os.deploy)
Fix by deploy them to differernt dir
--- meta-arm/recipes-security/optee/optee-os.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arm/recipes-security/optee/optee-os.inc +2 -2
@@ -51,8 +51,8 @@ do_install() { PACKAGE_ARCH = "${MACHINE_ARCH}" do_deploy() { - install -d ${DEPLOYDIR}/optee - install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/optee/ + install -d ${DEPLOYDIR}/${MLPREFIX}optee + install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/${MLPREFIX}optee } addtask deploy before do_build after do_install
Signature · 1 line
2.25.1
Jon Mason
AppliedQuoted 8 lines · On Tue, 2 Aug 2022 14:28:19 +0800, [email protected] wrote:
Run command: bitbake optee-os && bitbake lib32-optee-os
bitbake lib32-optee-os will fail with following error since
bitbake optee-os already deploy same file under the path.
RROR: lib32-optee-os-3.12.0+gitAUTOINC+3d47a131bc-r0do_deploy: The recipe lib32-optee-os is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/build/tmp-glibc/deploy/images/qemuarm64/optee/tee.elf
(matched in manifest-qemuarm64-optee-os.deploy)[...]
Applied, thanks!
[1/1] optee-os.inc: support multilib
commit: 844696e401bca5df7a06092c059d03ea71df9990
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Jon Mason
AppliedQuoted 8 lines · On Tue, 2 Aug 2022 14:28:19 +0800, [email protected] wrote:
Run command: bitbake optee-os && bitbake lib32-optee-os
bitbake lib32-optee-os will fail with following error since
bitbake optee-os already deploy same file under the path.
RROR: lib32-optee-os-3.12.0+gitAUTOINC+3d47a131bc-r0do_deploy: The recipe lib32-optee-os is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/build/tmp-glibc/deploy/images/qemuarm64/optee/tee.elf
(matched in manifest-qemuarm64-optee-os.deploy)[...]
Applied, thanks!
[1/1] optee-os.inc: support multilib
commit: 844696e401bca5df7a06092c059d03ea71df9990
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Jon Mason
AppliedQuoted 8 lines · On Tue, 2 Aug 2022 14:28:19 +0800, [email protected] wrote:
Run command: bitbake optee-os && bitbake lib32-optee-os
bitbake lib32-optee-os will fail with following error since
bitbake optee-os already deploy same file under the path.
RROR: lib32-optee-os-3.12.0+gitAUTOINC+3d47a131bc-r0do_deploy: The recipe lib32-optee-os is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/build/tmp-glibc/deploy/images/qemuarm64/optee/tee.elf
(matched in manifest-qemuarm64-optee-os.deploy)[...]
Applied, thanks!
[1/1] optee-os.inc: support multilib
commit: 844696e401bca5df7a06092c059d03ea71df9990
Best regards,
Signature · 1 line
Jon Mason <[email protected]>