[PATCH] Allow to suppress Optional Packages
|Reported by:||andreasf||Owned by:||andreasf|
The attached patch adds a mechanism to exclude certain non-leaf nodes or leaf nodes implicitly added as a dependency.
The current system roughly works by first marking packages as "added", then marking their dependencies as "added". Last, the Optional Packages themselves check whether they are "added" and unzip/whatever their contents.
This patch modifies the check for the latter to make packages think they were not added and thus do not perform their actions.