All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] optee-ftpm: Install artifacts into nonarch_base_libdir
@ 2022-04-25 17:42 Khem Raj
  2022-04-27 23:48 ` Jon Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2022-04-25 17:42 UTC (permalink / raw)
  To: meta-arm; +Cc: Khem Raj

This ensures that builds do not break with usrmerge distro feature

Fixes
ERROR: QA Issue: optee-ftpm: Files/directories were installed but not shipped in any package:
  /lib
  /lib/optee_armtz
  /lib/optee_armtz/bc50d971-d4c9-42c4-82cb-343fb7f37896.ta
  /lib/optee_armtz/bc50d971-d4c9-42c4-82cb-343fb7f37896.stripped.elf

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb b/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb
index d282c25..7ad408b 100644
--- a/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb
+++ b/meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb
@@ -56,9 +56,9 @@ do_compile() {
 }
 
 do_install () {
-    mkdir -p ${D}/lib/optee_armtz
-    install -D -p -m 0644 ${S}/Samples/ARM32-FirmwareTPM/optee_ta/out/fTPM/${FTPM_UUID}.ta ${D}/lib/optee_armtz/
-    install -D -p -m 0644 ${S}/Samples/ARM32-FirmwareTPM/optee_ta/out/fTPM/${FTPM_UUID}.stripped.elf ${D}/lib/optee_armtz/
+    mkdir -p ${D}/${nonarch_base_libdir}/optee_armtz
+    install -D -p -m 0644 ${S}/Samples/ARM32-FirmwareTPM/optee_ta/out/fTPM/${FTPM_UUID}.ta ${D}/${nonarch_base_libdir}/optee_armtz/
+    install -D -p -m 0644 ${S}/Samples/ARM32-FirmwareTPM/optee_ta/out/fTPM/${FTPM_UUID}.stripped.elf ${D}/${nonarch_base_libdir}/optee_armtz/
 }
 
 do_deploy () {
-- 
2.36.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] optee-ftpm: Install artifacts into nonarch_base_libdir
  2022-04-25 17:42 [PATCH] optee-ftpm: Install artifacts into nonarch_base_libdir Khem Raj
@ 2022-04-27 23:48 ` Jon Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2022-04-27 23:48 UTC (permalink / raw)
  To: meta-arm, Khem Raj

On Mon, 25 Apr 2022 10:42:04 -0700, Khem Raj wrote:
> This ensures that builds do not break with usrmerge distro feature
> 
> Fixes
> ERROR: QA Issue: optee-ftpm: Files/directories were installed but not shipped in any package:
>   /lib
>   /lib/optee_armtz
>   /lib/optee_armtz/bc50d971-d4c9-42c4-82cb-343fb7f37896.ta
>   /lib/optee_armtz/bc50d971-d4c9-42c4-82cb-343fb7f37896.stripped.elf

Applied, thanks!

[1/1] optee-ftpm: Install artifacts into nonarch_base_libdir
      commit: 6a105f47b920ae02a4dd5d0949a192382ac1d5cc

Best regards,
-- 
Jon Mason <jon.mason@arm.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-27 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 17:42 [PATCH] optee-ftpm: Install artifacts into nonarch_base_libdir Khem Raj
2022-04-27 23:48 ` Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.