#define HASH #
#define STAR *
+LOGFILE="installCDE.$$.log"
REVISION="$(echo "$Revision: /main/20 $" | awk '{print $2}')"
Log()
{
- echo "$1" | tee -a installCDE.log
+ echo "$1" | tee -a $LOGFILE
}
MakeTarball()
then
Log "Executing $PLATFORM specific $FilesetName customize script"
$POST_INSTALL_DIR/$PLATFORM_SCRIPT_DIR/$ScriptName -e 2>&1 | \
- tee -a /tmp/installCDE.log
+ tee -a $LOGFILE
elif [ -x $POST_INSTALL_DIR/$ScriptName ]
then
Log "Executing $FilesetName customize script"
- $POST_INSTALL_DIR/$ScriptName -e 2>&1 | tee -a /tmp/installCDE.log
+ $POST_INSTALL_DIR/$ScriptName -e 2>&1 | tee -a $LOGFILE
fi
fi
}
lssrc -s inetd >/dev/null 2>&1
if [ $? = "0" ]
then
- stopsrc -s inetd >>/tmp/installCDE.log 2>&1
+ stopsrc -s inetd >>$LOGFILE 2>&1
fi
else
ps -ef | grep $i | grep -v grep >/tmp/tmppsout
/usr/sbin/inetd -s
elif [ "$PLATFORM" = "aix" ]
then
- startsrc -s inetd >>/tmp/installCDE.log 2>&1
+ startsrc -s inetd >>$LOGFILE 2>&1
elif [ "$PLATFORM" = "dec" ]
then
/usr/sbin/inetd
num="$1."
fi
+XCOMM don't bother if the fileset doesn't exist
+ if [ ! -e $DATABASE_DIR/${2}.udb ]
+ then
+ return
+ fi
+
Log " $num installing database $2"
Log " - creating ${2}.lst file"
$TOOL_DIR/udbToAny.ksh -toLst -ReleaseStream $PLATFORM \
$DATABASE_DIR/${2}.udb > /tmp/${2}.lst
-
Log " - installing ... \c"
$TOOL_DIR/mkProd -D / -S $BUILD_TREE /tmp/${2}.lst \
2>/tmp/${2}.err 1>/tmp/${2}.good
if [ -s /tmp/${2}.missing ]
then
Log " - missing files:"
- cat /tmp/${2}.missing | tee -a /tmp/installCDE.log
+ cat /tmp/${2}.missing | tee -a $LOGFILE
fi
}
then
PLATFORM=dec
PLATFORM_SCRIPT_DIR=dec
+ elif [ $BUILDSYSTEM = "Linux" ];
+ then
+ PLATFORM="linux"
+ PLATFORM_SCRIPT_DIR=""
else # Build system = HP
PLATFORM=hp-ux
PLATFORM_SCRIPT_DIR=hp
if [ "$USER" != "root" ];
then
- USAGE
echo ""
- echo "You must be root to run this script. Continuing anyway."
+ echo "You should be root to run this script. Continuing anyway."
echo ""
fi
theLang=""
CONFIGURE_ONLY="no"
- rm -f /tmp/installCDE.log
+ rm -f $LOGFILE
Log "Options specified..."
while [ $# -ne 0 ]; do
echo "Done."
echo ""
- echo "See /tmp/installCDE.log for a log of this install session."
+ echo "See $LOGFILE for a log of this install session."
echo ""
install_target = /usr/dt/lib/libDtMmdb.so.2.1
mode = 0755
}
+
+XCOMM
+XCOMM
+XCOMM >>-----------------------------
+XCOMM linux libraries
+XCOMM <<-----------------------------
+XCOMM
+
+XCOMM
+lib/DtHelp/libDtHelp.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtHelp.so.2.1
+ mode = 0755
+}
+XCOMM
+./libDtHelp.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtHelp.so.2
+ type = sym_link
+}
+XCOMM
+./libDtHelp.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtHelp.so
+ type = sym_link
+}
+XCOMM
+lib/DtPrint/libDtPrint.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtPrint.so.2.1
+ mode = 0755
+}
+XCOMM
+./libDtPrint.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtPrint.so.2
+ type = sym_link
+}
+XCOMM
+./libDtPrint.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtPrint.so
+ type = sym_link
+}
+XCOMM
+lib/DtMrm/libDtMrm.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtMrm.so.2.1
+ mode = 0755
+}
+XCOMM
+./libDtMrm.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtMrm.so.2
+ type = sym_link
+}
+XCOMM
+./libDtMrm.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtMrm.so
+ type = sym_link
+}
+XCOMM
+lib/DtSvc/libDtSvc.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtSvc.so.2.1
+ mode = 0755
+}
+XCOMM
+./libDtSvc.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtSvc.so.2
+ type = sym_link
+}
+XCOMM
+./libDtSvc.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtSvc.so
+ type = sym_link
+}
+XCOMM
+lib/DtWidget/libDtWidget.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtWidget.so.2.1
+ mode = 0755
+}
+XCOMM
+./libDtWidget.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtWidget.so.2
+ type = sym_link
+}
+XCOMM
+./libDtWidget.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtWidget.so
+ type = sym_link
+}
+XCOMM
+lib/DtTerm/libDtTerm.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtTerm.so.2.1
+ mode = 0755
+}
+XCOMM
+./libDtTerm.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtTerm.so.2
+ type = sym_link
+}
+XCOMM
+./libDtTerm.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtTerm.so
+ type = sym_link
+}
+XCOMM
+lib/tt/lib/libtt.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libtt.so.2.1
+ mode = 0755
+}
+XCOMM
+./libtt.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libtt.so.2
+ type = sym_link
+}
+XCOMM
+./libtt.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libtt.so
+ type = sym_link
+}
+XCOMM
+lib/csa/libcsa.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libcsa.so.2.1
+ mode = 0755
+}
+XCOMM
+./libcsa.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libcsa.so.2
+ type = sym_link
+}
+XCOMM
+./libcsa.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libcsa.so
+ type = sym_link
+}
+XCOMM
+lib/DtSearch/libDtSearch.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtSearch.so.2.1
+ mode = 0755
+}
+XCOMM
+./libDtSearch.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtSearch.so.2
+ type = sym_link
+}
+XCOMM
+./libDtSearch.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtSearch.so
+ type = sym_link
+}
+
+#if 0 /* JET - not for linux (yet) */
+XCOMM
+lib/DtMmdb/libDtMmdb.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtMmdb.so.2.1
+ mode = 0755
+}
+XCOMM
+./libDtMmdb.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtMmdb.so.2
+ type = sym_link
+}
+XCOMM
+./libDtMmdb.so.2.1
+{ linux
+ install_target = /usr/dt/lib/libDtMmdb.so
+ type = sym_link
+}
+#endif
+
+
XCOMM
XCOMM >>-----------------------------
XCOMM AIX libraries