On Fri, 2023-01-06 at 17:02 +0000, Antonin Godard wrote:
> To avoid working with undeterministic config files, remove all the
> temporary files to start from scratch.
> 
> Signed-off-by: Antonin Godard <[email protected]>
> ---
>  meta/recipes-core/busybox/busybox.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-core/busybox/busybox.inc 
> b/meta/recipes-core/busybox/busybox.inc
> index 5dd783aa24..126afb522e 100644
> --- a/meta/recipes-core/busybox/busybox.inc
> +++ b/meta/recipes-core/busybox/busybox.inc
> @@ -155,7 +155,9 @@ do_compile() {
>               # split the .config into two parts, and make two busybox 
> binaries
>               if [ -e .config.orig ]; then
>                       # Need to guard again an interrupted do_compile - 
> restore any backup
> +                     # and remove temporary files.
>                       cp .config.orig .config
> +                     rm -f .config.app.suid .config.app.nosuid 
> .config.disable.apps .config.nonapps

These latter list of files can probably be removed unconditionally?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175604): 
https://lists.openembedded.org/g/openembedded-core/message/175604
Mute This Topic: https://lists.openembedded.org/mt/96097653/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to