source: trunk/packs/update/update-environment.sh @ 20339

Revision 20339, 1.3 KB checked in by rbasch, 21 years ago (diff)
Modify the update system to support installing Athena software built as Solaris packages, instead of using track. Changes include: * do-update determines which packages to add and remove. * update-os installs "core" packages only. * finish-update installs all other packages, performs removals, and generates windex databases (latter moved from oschanges). * finish-update-wrapper is added, to perform the actions formerly done by /etc/init.d/finish-update, as the latter may be overwritten by /srvd/usr/athena/lib/update/finish-update. * Files in the new $OSCONFCHG list are saved and restored around the installation of OS packages.
Line 
1export CONFCHG CONFVARS AUXDEVS OLDBINS OLDLIBS DEADFILES PACKAGES
2export CONFDIR LIBDIR SERVERDIR PATH HOSTTYPE CPUTYPE OSCONFCHG
3export PATCHES OLDPKGS OLDPTCHS
4export MIT_CORE_PACKAGES MIT_NONCORE_PACKAGES MIT_OLD_PACKAGES
5
6CONFCHG=$UPDATE_ROOT/var/athena/update.confchg
7CONFVARS=$UPDATE_ROOT/var/athena/update.confvars
8AUXDEVS=$UPDATE_ROOT/var/athena/update.auxdevs
9OLDBINS=$UPDATE_ROOT/var/athena/update.oldbins
10OLDLIBS=$UPDATE_ROOT/var/athena/update.oldlibs
11OLDPKGS=$UPDATE_ROOT/var/athena/update.oldpkgs
12OLDPTCHS=$UPDATE_ROOT/var/athena/update.oldptchs
13DEADFILES=$UPDATE_ROOT/var/athena/update.deadfiles
14PACKAGES=$UPDATE_ROOT/var/athena/update.packages
15PATCHES=$UPDATE_ROOT/var/athena/update.patches
16MIT_CORE_PACKAGES=$UPDATE_ROOT/var/athena/update.mitcorepkgs
17MIT_NONCORE_PACKAGES=$UPDATE_ROOT/var/athena/update.mitnoncorepkgs
18MIT_OLD_PACKAGES=$UPDATE_ROOT/var/athena/update.mitoldpkgs
19CONFDIR=$UPDATE_ROOT/etc/athena
20LIBDIR=/srvd/usr/athena/lib/update
21SERVERDIR=$UPDATE_ROOT/var/server
22PATH=/bin:/etc:/usr/sbin:/sbin:/usr/bin:/usr/ucb:/usr/bsd:/os/bin:/os/etc:/srvd/etc/athena:/srvd/bin/athena:/os/usr/bin:/srvd/usr/athena/etc:/os/usr/ucb:/os/usr/bsd:$LIBDIR
23HOSTTYPE=`$UPDATE_ROOT/bin/athena/machtype`
24CPUTYPE=`$UPDATE_ROOT/bin/athena/machtype -c`
25OSCONFCHG=$UPDATE_ROOT/var/athena/update.osconfchg
Note: See TracBrowser for help on using the repository browser.