1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2020 Oxide Computer Company
14#
15
16<include global_zone_only_component>
17set name=pkg.fmri value=pkg:/system/ksensor@$(PKGVERS)
18set name=pkg.summary value="Kernel Sensor Framework"
19set name=pkg.description value="Kernel Sensor Framework"
20set name=info.classification value=org.opensolaris.category.2008:System/Hardware
21set name=variant.arch value=$(ARCH)
22dir  path=kernel/drv group=sys
23dir  path=kernel/drv/$(ARCH64) group=sys
24file path=kernel/drv/$(ARCH64)/ksensor group=sys
25file path=kernel/drv/ksensor.conf group=sys
26dir  path=usr/include
27dir  path=usr/include/sys
28file path=usr/include/sys/sensors.h mode=0644
29dir  path=usr/lib/devfsadm group=sys
30dir  path=usr/lib/devfsadm/linkmod group=sys
31file path=usr/lib/devfsadm/linkmod/SUNW_sensor_link.so group=sys
32dir  path=usr/share/man
33dir  path=usr/share/man/man4d
34file path=usr/share/man/man4d/ksensor.4d
35driver name=ksensor
36license lic_CDDL license=lic_CDDL
37