17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
47c478bd9Sstevel@tonic-gate Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
57c478bd9Sstevel@tonic-gate Use is subject to license terms.
67c478bd9Sstevel@tonic-gate
77c478bd9Sstevel@tonic-gate CDDL HEADER START
87c478bd9Sstevel@tonic-gate
97c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
107c478bd9Sstevel@tonic-gate Common Development and Distribution License, Version 1.0 only
117c478bd9Sstevel@tonic-gate (the "License").  You may not use this file except in compliance
127c478bd9Sstevel@tonic-gate with the License.
137c478bd9Sstevel@tonic-gate
147c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
157c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
167c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
177c478bd9Sstevel@tonic-gate and limitations under the License.
187c478bd9Sstevel@tonic-gate
197c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
207c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
217c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
227c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
237c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
247c478bd9Sstevel@tonic-gate
257c478bd9Sstevel@tonic-gate CDDL HEADER END
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
287c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
297c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
307c478bd9Sstevel@tonic-gate	file.
31*75383e32SAndy Fiddaman
32*75383e32SAndy Fiddaman Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
337c478bd9Sstevel@tonic-gate-->
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:boot-archive'>
367c478bd9Sstevel@tonic-gate
377c478bd9Sstevel@tonic-gate<service
387c478bd9Sstevel@tonic-gate	name='system/boot-archive'
397c478bd9Sstevel@tonic-gate	type='service'
407c478bd9Sstevel@tonic-gate	version='1'>
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate	<create_default_instance enabled='true' />
437c478bd9Sstevel@tonic-gate
447c478bd9Sstevel@tonic-gate	<single_instance/>
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate	<dependency
477c478bd9Sstevel@tonic-gate		name='root'
487c478bd9Sstevel@tonic-gate		grouping='require_all'
497c478bd9Sstevel@tonic-gate		restart_on='none'
507c478bd9Sstevel@tonic-gate		type='service'>
517c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/system/filesystem/root' />
527c478bd9Sstevel@tonic-gate	</dependency>
537c478bd9Sstevel@tonic-gate
547c478bd9Sstevel@tonic-gate	<!--
557c478bd9Sstevel@tonic-gate	  Start method timeout is typically < 1 sec. We set it larger
567c478bd9Sstevel@tonic-gate	  to account for potential device timeouts.
577c478bd9Sstevel@tonic-gate	-->
587c478bd9Sstevel@tonic-gate	<exec_method
597c478bd9Sstevel@tonic-gate		type='method'
607c478bd9Sstevel@tonic-gate		name='start'
617c478bd9Sstevel@tonic-gate		exec='/lib/svc/method/boot-archive'
627c478bd9Sstevel@tonic-gate		timeout_seconds='60' />
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gate	<exec_method
657c478bd9Sstevel@tonic-gate		type='method'
667c478bd9Sstevel@tonic-gate		name='stop'
677c478bd9Sstevel@tonic-gate		exec=':true'
687c478bd9Sstevel@tonic-gate		timeout_seconds='3' />
697c478bd9Sstevel@tonic-gate
707c478bd9Sstevel@tonic-gate	<property_group name='startd' type='framework'>
717c478bd9Sstevel@tonic-gate		<propval name='duration' type='astring' value='transient' />
727c478bd9Sstevel@tonic-gate	</property_group>
737c478bd9Sstevel@tonic-gate
74*75383e32SAndy Fiddaman	<property_group name='config' type='application'>
75*75383e32SAndy Fiddaman		<propval name='format' type='astring' value='cpio' />
76*75383e32SAndy Fiddaman	</property_group>
77*75383e32SAndy Fiddaman
787c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
797c478bd9Sstevel@tonic-gate
807c478bd9Sstevel@tonic-gate	<template>
817c478bd9Sstevel@tonic-gate		<common_name>
827c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
837c478bd9Sstevel@tonic-gate				check boot archive content
847c478bd9Sstevel@tonic-gate			</loctext>
857c478bd9Sstevel@tonic-gate		</common_name>
867c478bd9Sstevel@tonic-gate		<description>
877c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
887c478bd9Sstevel@tonic-gate				This service checks if boot archive is
897c478bd9Sstevel@tonic-gate				in sync with the root filesystem.
907c478bd9Sstevel@tonic-gate			</loctext>
917c478bd9Sstevel@tonic-gate		</description>
927c478bd9Sstevel@tonic-gate	</template>
937c478bd9Sstevel@tonic-gate</service>
947c478bd9Sstevel@tonic-gate
957c478bd9Sstevel@tonic-gate</service_bundle>
96