[Pkgutil-users] Using pkgutil v 1.9.1 with Blastwave
Status: Beta
Brought to you by:
bonivart
|
From: Don J. <pkg...@cl...> - 2009-12-20 01:50:27
|
I used to just install the blastwave pkgutil package, but that version seems quite old.
I wanted to upgrade, so in my JumpStart finish file (where I used to install the blastwave pkgutil package and then use it), here is what I do now:
BASEDIR=/a
mkdir -p ${BASEDIR}/opt/csw/bin
mkdir -p ${BASEDIR}/var/opt/csw/pkgutil
mkdir -p ${BASEDIR}/etc/opt/csw
for f in pkgutil pkgutillog bldcat chkcat wget-i386
do
cp ${SI_CONFIG_DIR}/packages-local/$f ${BASEDIR}/opt/csw/bin
done
cp ${BASEDIR}/opt/csw/bin/wget-i386 ${BASEDIR}/opt/csw/bin/wget
cp ${SI_CONFIG_DIR}/adminfile ${BASEDIR}/var/opt/csw/pkgutil/admin
cp ${SI_CONFIG_DIR}/pkgutil.conf.jumpstart ${BASEDIR}/etc/opt/csw/pkgutil.conf
Of course, the installed pkgutil.conf (above) needs to configure the MIRRORS variable to point to the blastwave server.
After all that, the new pkgutil seems to work fine.
I am guessing a major benefit the blastwave package of pkgutil performs is to set up all the default directories, etc, which I had to learn the hard way....
|