Em sex., 25 de set. de 2020 às 20:30, Richard Purdie
<[email protected]> escreveu:
>
> We have multiple bugs ocurring because when do_unpack reruns, it just
> dumps the data base into WORKDIR. This means if a file was removed from
> a directory in a file://subdir/ url, that file would be left in the
> build confusing users.
>
> Also if files are entirely removed from SRC_URI, they would still exist
> in WORKDIR. Read the shadow recipe and the /etc/pam.d/ conditionals
> for an example of how this can break in interesting ways.
>
> To work around these issues, improve the cleaning code to remove anything
> except temp/ since it contains logs of the currently running task and
> *recipe-sysroot* since do_fetch and do_unpack have dependencies which may
> be added there already. That directory is setup to look after itself.
>
> We also have to create ${S} since that is a side effect of the current
> [cleandirs] which is no longer needed after this change.
>
> Signed-off-by: Richard Purdie <[email protected]>

Cool; this seems to address some annoying corner cases :-)


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142809): 
https://lists.openembedded.org/g/openembedded-core/message/142809
Mute This Topic: https://lists.openembedded.org/mt/77128536/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to