[bitbake-devel] [PATCH v2] fetch2: Handle missing donestamp file when content is valid

Richard Purdie richard.purdie at linuxfoundation.org
Fri Feb 2 12:28:25 UTC 2018


On Fri, 2018-02-02 at 21:23 +1000, Nathan Rossi wrote:
> In order to allow users to manually populate the download directory
> with
> valid content change the assumption that missing the donestamp file
> means unfetched content.
> 
> This allows users to populate the download dir without needing to
> create
> dummy .done files such that a user does not need a PREMIRROR when
> using
> BB_NO_NETWORK to provide valid content files in the download
> directory.
> 
> Also added test cases to cover this use case and additional use cases
> where for example the fetcher does not support checksums.
> 
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
> Changes in v2:
>   * Added test cases for the 4 common donestamp cases

Looks good, thanks for the tests, over the longer term that are proving
invaluable!

Cheers,

Richard



More information about the bitbake-devel mailing list