INSTALL_MASK patterns starting with '-' to indicates that a specific match is to be excluded from being masked. details, see: https://archives.gentoo.org/gentoo-portage-dev/message/29e128a9f41122fa0420c1140f7b7f94
How does this manifest itself? I might misunderstand this, but '-'-prefixed paths are currently ignored by qmerge -- thus not removed.
If memory serves right, you can have INSTALL_MASK="/some/dir -/some/dir/myfile" This will exclude everything in /some/dir but the /some/dir/myfile
ah, now I see. Thanks a lot.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=e3d45aadf559ba2ff9c929715bbeade5a42e3634 commit e3d45aadf559ba2ff9c929715bbeade5a42e3634 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2018-12-20 18:11:43 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2018-12-20 18:24:30 +0000 qmerge: support "negative" INSTALL_MASK entries Reworked qmerge install_mask handling to support negative entries in INSTALL_MASK, which "undo" (part of) a previous masking. This should implement the same behaviour as https://archives.gentoo.org/gentoo-portage-dev/message/29e128a9f41122fa0420c1140f7b7f94 Along the way some behavioural changes were made: - pretend mode now prints what would be merged (use with -y to be useful) - directory objects are recorded and merged again Bug: https://bugs.gentoo.org/656318 Signed-off-by: Fabian Groffen <grobian@gentoo.org> qmerge.c | 561 ++++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 393 insertions(+), 168 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff6c805c75168da858bbdd46a76e90fecccb563 commit eff6c805c75168da858bbdd46a76e90fecccb563 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2018-12-21 14:52:44 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2018-12-21 14:53:14 +0000 app-portage/portage-utils: version bump to v0.74 Closes: https://bugs.gentoo.org/672764 Closes: https://bugs.gentoo.org/672098 Closes: https://bugs.gentoo.org/668418 Closes: https://bugs.gentoo.org/662802 Closes: https://bugs.gentoo.org/656318 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-portage/portage-utils/Manifest | 2 +- .../{portage-utils-0.72.ebuild => portage-utils-0.74.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)