bitbake: wget: Add localpaths method which gives localpath with history
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Dec 2014 21:22:26 +0000 (21:22 +0000)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 26 Jul 2015 13:13:54 +0000 (10:13 -0300)
commita7cd34dd75c50d5b9b74da1bd9e2e28767da7f6d
tree9b96efcb52b6ef6ac587f38ffd131f756dd16d2f
parentf660769e19f33b6ff24c7baa64f2e352083bdbb4
bitbake: wget: Add localpaths method which gives localpath with history

In some cases for cache purpoes we not only need to know which file
is going to be used but also which paths were considered. Add a
localpaths method which includes the history.

The core which() funciton already supports this, this just extends
the function to preserve the extra data we need. localpath becomes
just a special case of the case with history.

(Bitbake rev: d71407dbbf82659f245e002ecaad02b26838f455)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
bitbake/lib/bb/fetch2/local.py