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

Richard Purdie richard.purdie at linuxfoundation.org
Thu Feb 1 13:12:38 UTC 2018


On Thu, 2018-02-01 at 01:07 +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.
> 
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
>  lib/bb/fetch2/__init__.py | 13 +++++--------
>  1 file changed, 5 insertions(+), 8 deletions(-)

Could I persuade you into adding a test of this in
lib/bb/tests/fetch.py?

The advantage is that then we hopefully don't break this again!

Cheers,

Richard




More information about the bitbake-devel mailing list