summaryrefslogtreecommitdiff
path: root/usr/src/pkg/transforms/strip_dependinfo
blob: bf205008f6ee60d2c015d201cb77227a965e9d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2019 Alexander Pyhalov
# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
#

#
# These transforms drop the information that we don't want to appear
# in final package versions.
#

# Drop pkg.depend.bypass-generate attributes
<transform file -> delete pkg.depend.bypass-generate .*>

# Drop pkg.depend.runpath attributes
<transform file -> delete pkg.depend.runpath .*>

# Remove pkg debug information
<transform set name=pkg.debug.* -> drop>