On Thu, Apr 11, 2024 at 01:06:10PM +0000, Taylor R Campbell wrote: > I agree, this is related to the subject of, and could probably use the > same mechanism as, PR 57581: set lists should have a way to obsolete > shlibs in DESTDIR but not in postinstall. > > https://gnats.NetBSD.org/57581
And also slightly related: we need a way to mark directories as optional in the mtree files (or have a way to provide several alternative options). Typical issue: /var/shm is a symlink on most of my smaller machines, but it is impossible to make such setups pass the mtree tests. Martin