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

Building slim_source ips packages

  • Upgrade onnv to the build you are generating the packages for. For example for Build145 of slim_source use onnv_145, etc.
  • Get slim_source source.
    SNV=145
    
    hg clone ssh://anon@hg.opensolaris.org/hg/caiman/slim_source
    cd slim_source
    hg update Build$SNV
    
  • 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
    
  • 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
  • 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