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 13 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=147
    
    hg clone http://hg.openindiana.org/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 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