summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-18 15:44:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-21 23:08:19 +0000
commitd05b78b245e9a1b2743d3f649378dc3e3565b12d (patch)
tree79deaf1a3ce1de8b9530f72808bcadab021dd3e2 /scripts
parent91fdad8c16af9e64aeedb10eb53b1a6cfacd38cd (diff)
downloadpoky-d05b78b245e9a1b2743d3f649378dc3e3565b12d.tar.gz
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/recipetool/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index 1fb6b55530..b5c9f78843 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -496,7 +496,7 @@ def create_recipe(args):
496 logger.info('Fetch temp directory is %s' % ftmpdir) 496 logger.info('Fetch temp directory is %s' % ftmpdir)
497 497
498 dirlist = os.listdir(srctree) 498 dirlist = os.listdir(srctree)
499 filterout = ['git.indirectionsymlink'] 499 filterout = ['git.indirectionsymlink', 'source-date-epoch']
500 dirlist = [x for x in dirlist if x not in filterout] 500 dirlist = [x for x in dirlist if x not in filterout]
501 logger.debug('Directory listing (excluding filtered out):\n %s' % '\n '.join(dirlist)) 501 logger.debug('Directory listing (excluding filtered out):\n %s' % '\n '.join(dirlist))
502 if len(dirlist) == 1: 502 if len(dirlist) == 1: