Building slim_source ips packages
We would always recommend building in a Zone. To build slim_source as per the instructions below, please make sure you are running oi_151. You will also need to make sure you have Sun Studio installed, please see Setting up the recommended build environment for information on getting both Sun Studio versions.
Get slim_source source:
hg clone http://hg.openindiana.org/sustaining/oi_151a/slim_source/
hg update $BUILD_ID
Install required IPS packages:
sudo pkg install archiver/gnu-tar \
Prepare the build script:
cp tools/env/developer.sh .
echo "CW_NO_SHADOW=1; export CW_NO_SHADOW" >>developer.sh
echo "INSTALL_BUILDNUM=$SNV; export INSTALL_BUILDNUM" >>developer.sh
echo "CODEMGR_WS=`hg root`" >> developer.sh
echo 'export NIGHTLY_OPTIONS="-ANndlmp +t"' >> developer.sh
Start the build:
The end result are two repos: slim_source/packages/i386/nightly-nd/repo.extra and slim_source/packages/i386/nightly-nd/repo.redist