package creation with setld

From: Yehuda <yehuda_at_gezernet.co.il>
Date: Wed, 22 Jul 1998 14:49:24 +0300

I am trying to create packages with setld, and hitting the
following problems (DU4.0B):

1) I understand that setld is supposed to create symbolic links
automatically,
iff: the directory structure is set up, appropriate bits are set in the
PKG.mi file
and the PKG.scp script tells it to do so. My mi file looks like:

    ...
    4 ./usr/opt/PKG100/bin/command PKG100
    ...

and my scp file looks like:

    ...
    case $ACT in
    ...
    POST_L)
        STL_ScpInit
        STL_LinkInit
        STL_LinkCreate
        ;;
    ...

This should install /usr/opt/PKG100/bin/command and create a link from
/usr/bin/command to /usr/opt/PKG100/bin/command, or so I understood.
Does this look right? Why doesn't it work? My info comes from Guide to
Preparing Product Kits from Digital.

2) I would like to install this software on two machines sharing a
directory. the
software has to install Big Quantities in the NFS directory, and also do
some
local changes to /etc files. Installing it on both machines means that
the Big
Quantities get installed twice, not something I want to occur. However,
I want
to install it on both machines equivalently so that I can delete it from
either machine.
(I.e. I thought of creating two packages, one that does a full
installation, for installing
on Machine A, and a second package for doing just a local installation
on Machine
B, but then I can't use setld for deinstalling the full installation on
Machine B.)

Any ideas? (any idea what I'm talking about, even?)

yehuda_at_gezernet.co.il
Received on Wed Jul 22 1998 - 11:53:29 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT