Opened 9 years ago

Closed 9 years ago

#6260 closed enhancement (fixed)

[PATCH] Allow to suppress Optional Packages

Reported by: andreasf Owned by: andreasf
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

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.

Attachments (1)

OptionalPackages.diff (1022 bytes) - added by andreasf 9 years ago.
propopsed patch

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by andreasf

Attachment: OptionalPackages.diff added

propopsed patch

comment:1 Changed 9 years ago by andreasf

Has a Patch: set

comment:2 Changed 9 years ago by bonefish

Looks OK. I would combine the new if in IsOptionalHaikuImagePackageAdded with the following one, though.

comment:3 Changed 9 years ago by andreasf

Resolution: fixed
Status: newclosed

Applied it in hrev38100, thanks.

Note: See TracTickets for help on using tickets.