#!/bin/ksh
#
#######################################################################
# Copyright (c) 1997-2004 Sun Microsystems, Inc. All Rights Reserved.
#
# SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
# THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
# TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
# PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
# ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
# DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
#
## Source:               set_prepare_env
## Application Name:     IT S9 Migration Tools
#
## Author:       BG
## Date Created: 17-NOV-2002
#
## General Description(Purpose): This is the main environmet file for all
#  ITSM S9 Migration premigration module. 
#
## Usage:
#
## Required Parameters: N/A
## Optional Parameters: N/A
## Return Codes:        N/A
#
## Possible Points of Failure:
#
## Modification History:
#  -------------------------------------------------------------
#  Date         Name                     Comments
#  -------------------------------------------------------------
#  13-DEC-2002  CH		Added support for lu version
#  17-NOV-2002  BG		Initial Creation
########################################################################

###############################
## Validation Variables
###############################

l_memory_threshold="128"

l_lu_pkg_version="11.9"


l_os_version="\
	5.6 \
	5.7 \
	5.8 \
	"

l_hw_version="\
        sun4u \
        "

l_proc_version="\
        sparc \
        "

l_ospkg5_6="\
        SUNWadmap \
        SUNWadmfw \
        SUNWadmc \
        SUNWmfrun \
        SUNWloc \
        SUNWlibC \
        "
l_ospkg5_7="\
        SUNWadmap \
        SUNWadmc \
        SUNWlibC \
        "
l_ospkg5_8="\
        SUNWadmap \
        SUNWadmc \
        SUNWlibC \
        SUNWbzip \
        "

###############################
## Live Upgrade Variables
###############################

l_lu_pkg_list="\
	SUNWlur \
	SUNWluu \
	"

l_lupatch5_6="\
        111664-01 \
        111938-01 \
        "
l_lupatch5_7="\
        111666-01 \
        111939-01 \
	108029-03 \
	"

#Fix for SUNWwsr issue 01-JAN-09 RELV1.2 - CH

/bin/pkginfo SUNWwsr > /dev/null 2>&1

if [ $? -eq 0 ]
then

    l_lupatch5_8="\
        111098-01 \
        109318-31 \
        108808-42 \
        111879-01 \
        "
else

l_lupatch5_8="\
        111098-01 \
        109318-31 \
        108808-42 \
        "

fi

