postinstall revision e11c3f44f531fdff80941ce57c065d2ae861cefc
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
# SUNWcsd postinstall configuration
#
# This file supplies /dev links needed in the install miniroot. The link
# targets are automatically created by devfs as driver attaches.
# The prototype_com, prototype_sparc, and prototype_i386 variables defined
# below each consist of two whitespace-delimited columns, defined as follows:
#
# 1. Device Path - Relative (should NOT begin with /) path to the device file
# to be created. This base is interpreted relative to $BASEDIR (typically /a).
#
# 2. Symbolic Link - The symlink to the device path which should be created.
# The link should be a relative path to which $BASEDIR can be prepended.
#
#
# Common driver entries:
#
'
#
# SPARC-specific driver entries:
#
'
#
# Intel-specific driver entries:
#
'
#
# SUNWcsd postinstall implementation
#
# Below this point is the code to process the above $prototype_* maps.
# You should not need to modify any code below this point to configure
# new drivers. You should also not need to add code here to remove
# links created by a previous version of this package. All the links
# can also be created by devfsadm link generators; the reason they
# are also here is for the initial boot (miniroot or diskless client)
# where certain devices must be present to get to the point when
# devfsadm runs.
#
#
# Determine an appropriate place for our private error log file. If $PKGSAV
# error log primarily as a debugging facility.
#
break
fi
done
eval echo "\"\$prototype_com\"" "\"\$prototype_${ARCH}\"" | \
[ -z "$path" ] && continue # Skip blank lines
#
# The link destination must be specified as an absolute path
# to installf. The source we modify to be relative to the
# destination (each "/" becomes a "../" prefix); thus
#
fi
done
cat << EOF > ${BASEDIR}/devices/README
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
This installation of Solaris uses devfs to provide /devices.
Warning: Do not change the content of this directory or its
subdirectories.
The directory containing this README file is typically hidden
underneath the /devices devfs(7FS) mount point. All content at or
below this directory is an implementation artifact and subject to
incompatible change or removal without notification.
Please reference devfs(7FS) for more information.
EOF
fi
exit 0