From d05b78b245e9a1b2743d3f649378dc3e3565b12d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 18 Nov 2019 15:44:21 +0000 Subject: 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 --- scripts/lib/recipetool/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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): 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: -- cgit v1.2.3-54-g00ecf