summaryrefslogtreecommitdiffstats
path: root/scripts/lib
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 21:17:40 +0000
commit188ba30ef290efab6d5a9b95fba8e991b779ab33 (patch)
treefb85cb6780f7dbf53583e9fab4b6091fa84421e0 /scripts/lib
parent29a0502e101ed0667e960f9f8591b0a2d60a4bcb (diff)
downloadopenembedded-core-contrib-188ba30ef290efab6d5a9b95fba8e991b779ab33.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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-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 1fb6b555301..b5c9f788433 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -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: