Skip to content

Commit

Permalink
BHYVE: Create initial bhyve package manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it committed Mar 1, 2018
1 parent 79834f4 commit 4278e1a
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions usr/src/pkg/manifests/developer-build-onbld.mf
Expand Up @@ -102,6 +102,7 @@ file path=opt/onbld/bin/find_elf mode=0555
file path=opt/onbld/bin/findcrypto mode=0555
file path=opt/onbld/bin/flg.flp mode=0555
file path=opt/onbld/bin/genoffsets mode=0555
file path=opt/onbld/bin/gensetdefs mode=0555
file path=opt/onbld/bin/git-pbchk mode=0555
file path=opt/onbld/bin/hdrchk mode=0555
file path=opt/onbld/bin/interface_check mode=0555
Expand Down
69 changes: 69 additions & 0 deletions usr/src/pkg/manifests/system-bhyve.mf
@@ -0,0 +1,69 @@
#
# CDDL HEADER START
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 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.
#
# CDDL HEADER END
#

#
# Copyright 2016 Nexenta Systems, Inc. All rights reserved.
# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
#

#
# The default for payload-bearing actions in this package is to appear in the
# global zone only. See the include file for greater detail, as well as
# information about overriding the defaults.
#
<include global_zone_only_component>
set name=pkg.fmri value=pkg:/system/bhyve@$(PKGVERS)
set name=pkg.description value="BSD hypervisor"
set name=pkg.summary value="BSD hypervisor"
set name=info.classification \
value=org.opensolaris.category.2008:System/Virtualization
set name=variant.arch value=i386
dir path=kernel group=sys
dir path=kernel/kmdb group=sys
dir path=kernel/kmdb/$(ARCH64) group=sys
dir path=lib group=bin
dir path=lib/$(ARCH64) group=bin
dir path=usr group=sys
dir path=usr/kernel/drv group=sys
dir path=usr/kernel/drv/$(ARCH64) group=sys
dir path=usr/lib group=bin
dir path=usr/lib/mdb group=sys
dir path=usr/lib/mdb/kvm group=sys
dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
dir path=usr/sbin
driver name=viona
driver name=vmm
file path=kernel/kmdb/$(ARCH64)/vmm mode=0555
file path=lib/$(ARCH64)/libvmmapi.so.1
file path=lib/$(ARCH64)/llib-lvmmapi.ln
#later file path=sbin/bhhwcompat mode=0555
file path=usr/kernel/drv/$(ARCH64)/viona
file path=usr/kernel/drv/$(ARCH64)/vmm
file path=usr/kernel/drv/viona.conf
file path=usr/kernel/drv/vmm.conf
file path=usr/lib/mdb/kvm/$(ARCH64)/vmm.so mode=0555
file path=usr/sbin/$(ARCH64)/bhyve mode=0555 \
variant.opensolaris.zone=__NODEFAULT
file path=usr/sbin/$(ARCH64)/bhyvectl mode=0555 \
variant.opensolaris.zone=__NODEFAULT
hardlink path=usr/sbin/bhyve target=../lib/isaexec \
variant.opensolaris.zone=__NODEFAULT
hardlink path=usr/sbin/bhyvectl target=../lib/isaexec \
variant.opensolaris.zone=__NODEFAULT
license lic_CDDL license=lic_CDDL
link path=lib/$(ARCH64)/libvmmapi.so target=./libvmmapi.so.1
#later link path=usr/sbin/bhhwcompat target=../../sbin/bhhwcompat
depend fmri=developer/acpi/compiler type=require
depend fmri=system/bhyve/firmware type=require
1 change: 1 addition & 0 deletions usr/src/pkg/manifests/system-header.mf
Expand Up @@ -1693,6 +1693,7 @@ $(i386_ONLY)file path=usr/platform/i86pc/include/sys/rm_platter.h
$(i386_ONLY)file path=usr/platform/i86pc/include/sys/sbd_ioctl.h
$(i386_ONLY)file path=usr/platform/i86pc/include/sys/smp_impldefs.h
$(i386_ONLY)file path=usr/platform/i86pc/include/sys/vm_machparam.h
$(i386_ONLY)file path=usr/platform/i86pc/include/sys/vmm_dev.h
$(i386_ONLY)file path=usr/platform/i86pc/include/sys/x_call.h
$(i386_ONLY)file path=usr/platform/i86pc/include/sys/xc_levels.h
$(i386_ONLY)file path=usr/platform/i86pc/include/sys/xsvc.h
Expand Down

0 comments on commit 4278e1a

Please sign in to comment.