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 | |
---|
1 | export CONFCHG CONFVARS AUXDEVS OLDBINS OLDLIBS DEADFILES PACKAGES |
---|
2 | export CONFDIR LIBDIR SERVERDIR PATH HOSTTYPE CPUTYPE OSCONFCHG |
---|
3 | export PATCHES OLDPKGS OLDPTCHS |
---|
4 | export MIT_CORE_PACKAGES MIT_NONCORE_PACKAGES MIT_OLD_PACKAGES |
---|
5 | |
---|
6 | CONFCHG=$UPDATE_ROOT/var/athena/update.confchg |
---|
7 | CONFVARS=$UPDATE_ROOT/var/athena/update.confvars |
---|
8 | AUXDEVS=$UPDATE_ROOT/var/athena/update.auxdevs |
---|
9 | OLDBINS=$UPDATE_ROOT/var/athena/update.oldbins |
---|
10 | OLDLIBS=$UPDATE_ROOT/var/athena/update.oldlibs |
---|
11 | OLDPKGS=$UPDATE_ROOT/var/athena/update.oldpkgs |
---|
12 | OLDPTCHS=$UPDATE_ROOT/var/athena/update.oldptchs |
---|
13 | DEADFILES=$UPDATE_ROOT/var/athena/update.deadfiles |
---|
14 | PACKAGES=$UPDATE_ROOT/var/athena/update.packages |
---|
15 | PATCHES=$UPDATE_ROOT/var/athena/update.patches |
---|
16 | MIT_CORE_PACKAGES=$UPDATE_ROOT/var/athena/update.mitcorepkgs |
---|
17 | MIT_NONCORE_PACKAGES=$UPDATE_ROOT/var/athena/update.mitnoncorepkgs |
---|
18 | MIT_OLD_PACKAGES=$UPDATE_ROOT/var/athena/update.mitoldpkgs |
---|
19 | CONFDIR=$UPDATE_ROOT/etc/athena |
---|
20 | LIBDIR=/srvd/usr/athena/lib/update |
---|
21 | SERVERDIR=$UPDATE_ROOT/var/server |
---|
22 | PATH=/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 |
---|
23 | HOSTTYPE=`$UPDATE_ROOT/bin/athena/machtype` |
---|
24 | CPUTYPE=`$UPDATE_ROOT/bin/athena/machtype -c` |
---|
25 | OSCONFCHG=$UPDATE_ROOT/var/athena/update.osconfchg |
---|
Note: See
TracBrowser
for help on using the repository browser.