Child pages
  • Building slim_source (Caiman)
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Building slim_source ips packages

Build Environment

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:

export BUILD_ID=oi_151a
export SNV=151

hg clone
cd slim_source
hg update $BUILD_ID

Install required IPS packages:

sudo pkg install archiver/gnu-tar \
developer/build/onbld \
developer/object-file \
developer/sunstudioexpress \
developer/swig \
developer/versioning/mercurial \
gnome/config/gconf \
install/beadm \
library/desktop/gtk2 \
library/desktop/libglade \
library/glib2 \
library/gnome/gnome-libs \
package/svr4 \
service/network/smtp/sendmail \
system/boot/wanboot/internal \
system/library/install \
system/library/install/libinstzones \
system/library/libdiskmgt/header-libdiskmgt \
system/library/storage/ima/header-ima \
system/zones/internal \
text/gnu-gettext \
text/gnu-grep \
  • prepare env file
    cd usr/src
    cp tools/env/ .
    echo "CW_NO_SHADOW=1; export CW_NO_SHADOW" >>
    You may want to update CODEMGR_WS variable as well if your sources are not in /export/home/${LOGNAME}/slim_source

Also add the "n" option to the nightly build options to avoid updating the mercurial tree with the latest changes.

  • start the build

The end result are two repos: slim_source/packages/i386/nightly-nd/repo.extra slim_source/packages/i386/nightly-nd/repo.redist

  • No labels