mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
libcamera: Avoid build break in signature recalculation
The signature recalculation task can fail:
```
/.../build/tmp/work/armv8a-poky-linux/libcamera/1_0.0.4-r0/temp/run.do_recalculate_ipa_signatures_package.937421: line 154: /.../build/tmp/work/armv8a-poky-linux/libcamera/1_0.0.4-r0/git/src/ipa/ipa-sign-install.sh: No such file or directory
```
This happens whenever ${S} is removed and packages are retrieved from
sstate cache.
Instead of trying to fix the task, avoid the issue altogether by
performing the signature recalculation directly in do_package.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fe3a2def88)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
278c3f75e3
commit
f21b1fee8b
|
|
@ -50,8 +50,11 @@ do_install:append() {
|
|||
chrpath -d ${D}${libexecdir}/libcamera/v4l2-compat.so
|
||||
}
|
||||
|
||||
addtask do_recalculate_ipa_signatures_package after do_package before do_packagedata
|
||||
do_recalculate_ipa_signatures_package() {
|
||||
do_package:append() {
|
||||
bb.build.exec_func("do_package_recalculate_ipa_signatures", d)
|
||||
}
|
||||
|
||||
do_package_recalculate_ipa_signatures() {
|
||||
local modules
|
||||
for module in $(find ${PKGD}/usr/lib/libcamera -name "*.so.sign"); do
|
||||
module="${module%.sign}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user