diff options
Diffstat (limited to 'bitbake/bin/bitbake-layers')
-rwxr-xr-x | bitbake/bin/bitbake-layers | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers index dfbdb7032a..5abf26cfbd 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/bin/bitbake-layers | |||
@@ -55,7 +55,7 @@ class Commands(cmd.Cmd): | |||
55 | 55 | ||
56 | def prepare_cooker(self): | 56 | def prepare_cooker(self): |
57 | sys.stderr.write("Parsing recipes..") | 57 | sys.stderr.write("Parsing recipes..") |
58 | logger.setLevel(logging.ERROR) | 58 | logger.setLevel(logging.WARNING) |
59 | 59 | ||
60 | try: | 60 | try: |
61 | while self.cooker.state in (state.initial, state.parsing): | 61 | while self.cooker.state in (state.initial, state.parsing): |
@@ -156,8 +156,6 @@ class Commands(cmd.Cmd): | |||
156 | 156 | ||
157 | self.show_appends_for_skipped() | 157 | self.show_appends_for_skipped() |
158 | 158 | ||
159 | self.show_appends_with_no_recipes() | ||
160 | |||
161 | def show_appends_for_pn(self, pn): | 159 | def show_appends_for_pn(self, pn): |
162 | filenames = self.cooker_data.pkg_pn[pn] | 160 | filenames = self.cooker_data.pkg_pn[pn] |
163 | 161 | ||
@@ -204,23 +202,6 @@ class Commands(cmd.Cmd): | |||
204 | notappended.append(basename) | 202 | notappended.append(basename) |
205 | return appended, notappended | 203 | return appended, notappended |
206 | 204 | ||
207 | def show_appends_with_no_recipes(self): | ||
208 | recipes = set(os.path.basename(f) | ||
209 | for f in self.cooker_data.pkg_fn.iterkeys()) | ||
210 | recipes |= set(os.path.basename(f) | ||
211 | for f in self.cooker.skiplist.iterkeys()) | ||
212 | appended_recipes = self.cooker_data.appends.iterkeys() | ||
213 | appends_without_recipes = [self.cooker_data.appends[recipe] | ||
214 | for recipe in appended_recipes | ||
215 | if recipe not in recipes] | ||
216 | if appends_without_recipes: | ||
217 | appendlines = (' %s' % append | ||
218 | for appends in appends_without_recipes | ||
219 | for append in appends) | ||
220 | logger.warn('No recipes available for:\n%s', | ||
221 | '\n'.join(appendlines)) | ||
222 | self.returncode |= 4 | ||
223 | |||
224 | def do_EOF(self, line): | 205 | def do_EOF(self, line): |
225 | return True | 206 | return True |
226 | 207 | ||