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 14 Next »

Building slim_source ips packages

  • Get slim_source source.
    BUILD_ID=oi_151a
    SNV=151
    
    hg clone http://hg.openindiana.org/sustaining/oi_151a/slim_source/
    cd slim_source
    hg update $BUILD_ID
    
  • Install required IPS packages:
    pfexec pkg install developer/swig system/boot/wanboot/internal \
    system/library/install/libinstzones system/library/libdiskmgt/header-libdiskmgt \
    system/zones/internal text/gnu-gettext developer/object-file gnome/config/gconf \
    library/desktop/gtk2 library/desktop/libglade library/glib2 \
    library/gnome/gnome-libs system/library/storage/ima/header-ima
    

If you're building in a zone you probably also want:

pfexec pkg install developer/object-file gnome/config/gconf \
library/desktop/gtk2 library/desktop/libglade library/glib2 \
library/gnome/gnome-libs developer/sunstudioexpress gnu-grep \
gnu-sed gnu-tar install/beadm libinstzones mercurial onbld \
package/svr4 install/beadm sendmail system/library/install \
system/library/storage/ima/header-ima
  • prepare env file
    cd usr/src
    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
    
    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
    nightly developer.sh
    

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

  • No labels