| Current File : //lib/svc/manifest/system/boot-loader-update.xml |
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
NOTE: This service manifest is not editable; its contents will
be overwritten by package or patch operations, including
operating system upgrade. Make customizations in a different
file.
-->
<service_bundle type='manifest' name='SUNWcsr:boot-loader-update'>
<service
name='system/boot-loader-update'
type='service'
version='1'>
<create_default_instance enabled='true' />
<single_instance/>
<!--
This needs to depend on filesystem/local because boot loader files
under /usr that are essential for proper bootadm operation make be
required.
-->
<dependency
name='filesystem'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/system/filesystem/local' />
</dependency>
<dependent
name='boot_loader_update_import-self-assembly-complete'
grouping='optional_all'
restart_on='none'>
<service_fmri value='svc:/milestone/self-assembly-complete' />
</dependent>
<!--
As with the boot-archive-update service, it's possible that
installing the boot loader might take a while (especially if there
are a lot of disks on the system, as some boot loaders do disk
probing that could take a while, especially on slow machines or
machines with slow disks).
If it doesn't finish eventually, something's wrong and an error
message to trigger further investigation is appropriate.
-->
<exec_method
type='method'
name='start'
exec='/lib/svc/method/boot-loader-update'
timeout_seconds='3600' />
<exec_method
type='method'
name='stop'
exec=':true'
timeout_seconds='3' />
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='transient' />
</property_group>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>
Update the system boot loader, if necessary
</loctext>
</common_name>
<description>
<loctext xml:lang='C'>
This service updates the boot loader if
a deferred boot loader installation was
required. This is typically required when
boot loader tools on the active boot
environment are used to activate a newly-
updated boot environment with an incompatible
set of boot loader executable images. The
boot loader installation is deferred until the
boot environment with the incompatible boot
loader executable images is booted and its
compatible tools can be run natively.
</loctext>
</description>
</template>
</service>
</service_bundle>