[OE-core] [PATCH 2/2] recipetool/create: Fix to work with reproducible_builds

Richard Purdie richard.purdie at linuxfoundation.org
Mon Nov 18 15:47:50 UTC 2019


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 at linuxfoundation.org>
---
 scripts/lib/recipetool/create.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
2.20.1



More information about the Openembedded-core mailing list