diff options
author | Philip Lorenz <philip.lorenz@bmw.de> | 2024-03-22 16:54:12 +0100 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2024-03-28 10:01:42 -0400 |
commit | 5006df61371188221b82807339f9217b331fc7a1 (patch) | |
tree | dff43b39629f5f0862a33a932cdfac63e9399f91 /dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py | |
parent | b1eddc23d6b46a403bd1548a98512b69e5ecbd7e (diff) | |
download | meta-selinux-5006df61371188221b82807339f9217b331fc7a1.tar.gz |
busybox: Fix wrapper creation
`PACKAGEBUILDPKGD` was dropped in Yocto 4.2 and
`PACKAGE_PREPROCESS_FUNCS` should be used instead. The only requirement
for wrapper creation is that it is executed before any of the
`update-alternatives` hooks are executed. This continues to hold as the
call to `create_sh_wrapper_reset_alternative_vars` is prepended only
after the `update-alternatives` class has been inherited.
Additionally, this also fixes a race condition leading to
non-deterministic buildhistory entries in busybox's `sysroot` files.
The race condition was caused by the creation of the wrapper files
inside `D` (i.e. the image directory) which is also consumed by other
tasks such as `do_populate_sysroot` which may be executing in parallel
to `do_package`.
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'dynamic-layers/python2-layer/recipes-devtools/python/files/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions