mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
recipetool/create: Fix to work with reproducible_builds
The extra diretory created by reproducibile_builds was confusing recipetool and hence devtool. Ignore this directory to restore the correct behaviour and allow it to work with the class. (From OE-Core rev: 188ba30ef290efab6d5a9b95fba8e991b779ab33) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
91fdad8c16
commit
d05b78b245
|
@ -496,7 +496,7 @@ def create_recipe(args):
|
|||
logger.info('Fetch temp directory is %s' % ftmpdir)
|
||||
|
||||
dirlist = os.listdir(srctree)
|
||||
filterout = ['git.indirectionsymlink']
|
||||
filterout = ['git.indirectionsymlink', 'source-date-epoch']
|
||||
dirlist = [x for x in dirlist if x not in filterout]
|
||||
logger.debug('Directory listing (excluding filtered out):\n %s' % '\n '.join(dirlist))
|
||||
if len(dirlist) == 1:
|
||||
|
|
Loading…
Reference in New Issue
Block a user