Open schiller-jfn opened 1 year ago
Thanks for reporting. We'll rerproduce this issue and get back to you with an update.
Our team was able to reproduce this issue.
luainterpreter and udev are virtual packages provided by luajit and eudev.
The next release will have a fix for improving the handling of virtual packages. In the interim, you can use the below patch to suppress this exception.
diff --git a/scripts/amendments.py b/scripts/amendments.py
index e6fb561..8c2ce71 100644
--- a/scripts/amendments.py
+++ b/scripts/amendments.py
@@ -111,7 +111,7 @@ def _filter_excluded_packages(vgls_pkgs, excld_pkgs):
pkg_matches = list(set([
k
for k, v in vgls_pkgs.items()
- if v['name'] in excld_pkgs
+ if v.get('name', k) in excld_pkgs
]))
info("Vigiles: Excluding Packages: %s" % sorted(pkg_matches))
While looping on packages to compare to filter excluded ones, I get an exception raised.
https://github.com/TimesysGit/vigiles-buildroot/blob/3724195a836176169c4d60fffb9fd65463c42fd3/scripts/amendments.py#L114
Indeed, in vgls_pkgs dictionary I have two of them which do not have their name in
Seems to be quite similar to #5