diff options
author | Ting Liu <ting.liu@nxp.com> | 2020-12-16 10:40:57 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-12-16 08:40:52 -0300 |
commit | 6a101d34a7ac568a2f24b4ae36ca4d178adc4843 (patch) | |
tree | 4d15d8d805e88e1dc26eb8a17738f7a21960e879 | |
parent | 1020afbf3ff405560518ecc695af39501f9daad3 (diff) | |
download | meta-freescale-6a101d34a7ac568a2f24b4ae36ca4d178adc4843.tar.gz |
gpp-aioptool: chown aiop_tool to root:root
Fix host user contaminated issue
| WARNING: gpp-aioptool do_package: KeyError in ./package/usr/bin/aiop_tool
| Exception: KeyError: 'getpwuid(): uid not found: 2000'
| NOTE: recipe gpp-aioptool-git-r0: task do_package: Failed
-rw-r--r-- | recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb b/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb index 1e60c534..a96913e8 100644 --- a/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb +++ b/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb | |||
@@ -22,6 +22,7 @@ do_configure[depends] += "virtual/kernel:do_shared_workdir" | |||
22 | 22 | ||
23 | do_install () { | 23 | do_install () { |
24 | oe_runmake install DESTDIR=${D} | 24 | oe_runmake install DESTDIR=${D} |
25 | chown -R root:root ${D}${bindir}/aiop_tool | ||
25 | } | 26 | } |
26 | 27 | ||
27 | COMPATIBLE_MACHINE = "(ls2088a|ls1088a)" | 28 | COMPATIBLE_MACHINE = "(ls2088a|ls1088a)" |