xref: /illumos-gate/usr/src/pkg/transforms/strip_dependinfo (revision 43449cdcd0600512dd862537f2cf014140dd0844)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"). You may
4# only use this file in accordance with the terms of the CDDL.
5#
6# A full copy of the text of the CDDL should have accompanied this
7# source. A copy of the CDDL is also available via the Internet at
8# http://www.illumos.org/license/CDDL.
9#
10
11#
12# Copyright 2019 Alexander Pyhalov
13# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
14#
15
16#
17# These transforms drop the information that we don't want to appear
18# in final package versions.
19#
20
21# Drop pkg.depend.bypass-generate attributes
22<transform file -> delete pkg.depend.bypass-generate .*>
23
24# Drop pkg.depend.runpath attributes
25<transform file -> delete pkg.depend.runpath .*>
26
27# Remove pkg debug information
28<transform set name=pkg.debug.* -> drop>
29
30