Opened 14 years ago

Closed 14 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:
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 14 years ago.
propopsed patch

Download all attachments as: .zip

Change History (4)

by andreasf, 14 years ago

Attachment: OptionalPackages.diff added

propopsed patch

comment:1 by andreasf, 14 years ago

patch: 01

comment:2 by bonefish, 14 years ago

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

comment:3 by andreasf, 14 years ago

Resolution: fixed
Status: newclosed

Applied it in hrev38100, thanks.

Note: See TracTickets for help on using tickets.