[oe-commits] [openembedded-core] 19/53: recipetool/create: Fix to work with reproducible_builds

git at git.openembedded.org git at git.openembedded.org
Thu Nov 21 21:39:30 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 188ba30ef290efab6d5a9b95fba8e991b779ab33
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Nov 18 15:44:21 2019 +0000

    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 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 1fb6b55..b5c9f78 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list