summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/recipetool/create.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index 7987fbb0c4..f98f5257f4 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -122,7 +122,11 @@ def create_recipe(args):
122 tempsrc = tempfile.mkdtemp(prefix='recipetool-') 122 tempsrc = tempfile.mkdtemp(prefix='recipetool-')
123 srctree = tempsrc 123 srctree = tempsrc
124 logger.info('Fetching %s...' % srcuri) 124 logger.info('Fetching %s...' % srcuri)
125 checksums = scriptutils.fetch_uri(tinfoil.config_data, fetchuri, srctree, srcrev) 125 try:
126 checksums = scriptutils.fetch_uri(tinfoil.config_data, fetchuri, srctree, srcrev)
127 except bb.fetch2.FetchError:
128 # Error already printed
129 sys.exit(1)
126 dirlist = os.listdir(srctree) 130 dirlist = os.listdir(srctree)
127 if 'git.indirectionsymlink' in dirlist: 131 if 'git.indirectionsymlink' in dirlist:
128 dirlist.remove('git.indirectionsymlink') 132 dirlist.remove('git.indirectionsymlink')