Message ID | 75449f8690bd6d1b40776a208b667cc9691bcb6e.1637546583.git.anuj.mittal@intel.com |
---|---|
State | Accepted, archived |
Commit | 75449f8690bd6d1b40776a208b667cc9691bcb6e |
Headers | show |
Series | [hardknott,01/16] mirrors: Add uninative mirror on kernel.org | expand |
diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser index 8d223185a4..65a6ee956e 100755 --- a/scripts/oe-pkgdata-browser +++ b/scripts/oe-pkgdata-browser @@ -236,6 +236,8 @@ class PkgUi(): update_deps("RPROVIDES", "Provides: ", self.provides_label, clickable=False) def load_recipes(self): + if not os.path.exists(pkgdata): + sys.exit("Error: Please ensure %s exists by generating packages before using this tool." % pkgdata) for recipe in sorted(os.listdir(pkgdata)): if os.path.isfile(os.path.join(pkgdata, recipe)): self.recipe_iters[recipe] = self.recipe_store.append([recipe])