mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
python3-hexdump: Move cleanup_hexfile into install_append
This fixes error seen during staging phase run.sysroot_stage_all.902827: line 182: cd: TOPDIR/build/tmpfs/work/core2-32-yoe-linux-musl/python3-hexdump/3.3-r0/image/usr/share: No such file or directory this happens because D is being altered outside pseudo's context, and alterning D is done after do_install ends so its likely going to race as well with subsequent functions and change pseudo context too Fixes occasionally seen build failures on autobuilders Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -19,9 +19,7 @@ S = "${WORKDIR}"
|
|||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
do_cleanup_hexfile() {
|
do_install_append() {
|
||||||
rm ${D}${datadir}/data/hexfile.bin
|
rm ${D}${datadir}/data/hexfile.bin
|
||||||
rmdir ${D}${datadir}/data ${D}${datadir}
|
rmdir ${D}${datadir}/data ${D}${datadir}
|
||||||
}
|
}
|
||||||
|
|
||||||
addtask cleanup_hexfile before do_package after do_install
|
|
||||||
|
|||||||
Reference in New Issue
Block a user