diff options
Diffstat (limited to 'scripts/lib/recipetool/create.py')
-rw-r--r-- | scripts/lib/recipetool/create.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index b5c9f78843..4c4bbadb4c 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -495,9 +495,7 @@ def create_recipe(args): | |||
495 | if ftmpdir and args.keep_temp: | 495 | if ftmpdir and args.keep_temp: |
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 = scriptutils.filter_src_subdirs(srctree) |
499 | filterout = ['git.indirectionsymlink', 'source-date-epoch'] | ||
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)) | 499 | logger.debug('Directory listing (excluding filtered out):\n %s' % '\n '.join(dirlist)) |
502 | if len(dirlist) == 1: | 500 | if len(dirlist) == 1: |
503 | singleitem = os.path.join(srctree, dirlist[0]) | 501 | singleitem = os.path.join(srctree, dirlist[0]) |