Skip to end of metadata
Go to start of metadata

Steps for building JDS

  • Copy oi-cbe into the zone and execute setup-buildenv.sh jds in order to set up the build environment.
# buildzone=jdszone       # name of the designated build zone
# zonepath=/path/to/zone  # path to the designated build zone
# cp -r oi-cbe ${zonepath}/root/var/tmp/
# zlogin $buildzone 'cd /var/tmp/oi-cbe && ./setup-buildenv.sh jds'
  • Download and place all JDS source files into ${HOME}/packages/SOURCES
# zlogin -l abuild $buildzone 'cd ${HOME}/packages/SOURCES && wget -r -l1 -np -nd http://dlc.openindiana.org/oi/jds/downloads/sources/'
  • Check out the JDS spec files and the OpenIndiana patchset.
# zlogin -l abuild $buildzone 'hg clone http://hg.openindiana.org/spec-files-mozilla-l10n/ ${HOME}/spec-files-mozilla-l10n'
# zlogin -l abuild $buildzone 'hg clone http://hg.openindiana.org/spec-files/ ${HOME}/spec-files'
# zlogin -l abuild $buildzone 'hg clone http://hg.openindiana.org/mq_spec-files/ ${HOME}/spec-files/.hg/patches'
  • Update to the desired version and apply all patches.
# zlogin -l abuild $buildzone 'cd ${HOME}/spec-files && hg -R .hg/patches up oi_148 && hg up NEVADA_148 && hg --config extensions.mq=1 --config diff.git=1 qpush -a'
  • Prepare and build JDS.
# zlogin -l abuild $buildzone '. /opt/dtbld/bin/env.sh; cd ${HOME}/spec-files && make'
# zlogin -l abuild $buildzone '. /opt/dtbld/bin/env.sh; rm ${HOME}/status.html; cd ${HOME}/spec-files && pkgtool -v --topdir=${HOME}/packages --tarballdirs ${HOME}/packages/SOURCES:${PWD}/manpages/sun-manpage-tarballs:${PWD}/manpages-roff/sun-manpage-tarballs:${PWD}/po-sun/po-sun-tarballs:${tarballdirs} --update --rmlog --logdir=${HOME}/logs --logdir-url=/logs --live --summary-log=${HOME}/status.html --nopkg --with-l10n --with-openindiana-branding build specs/*.spec'
# zlogin -l abuild $buildzone '. /opt/dtbld/bin/env.sh; rm ${HOME}/status.html; cd ${HOME}/spec-files-mozilla-l10n && pkgtool -v --topdir=${HOME}/packages --tarballdirs ${HOME}/packages/SOURCES:${tarballdirs} --update --rmlog --logdir=${HOME}/logs --logdir_url=/logs --live --summary-log=${HOME}/status.html --nopkg --with-l10n build specs/*.spec'
  • SVR4 packages will be placed into ${HOME}/packages.
  • No labels

5 Comments

  1. Anonymous

    where can I get oi-cbe-20101101.tar,please?

    1. It is attached to this page, click on the paperclip icon in the upper left corner.

  2. Anonymous

    *** failed to import extension mq from 1: [Errno 2] No such file or directory
    hg: unknown command 'qpush'
    Hi,

    hg --config extensions.mq=1 --config diff.git=1 qpush -a

    gives error messages as below:

    " *** failed to import extension mq from 1: [Errno 2] No such file or directory

    hg: unknown command 'qpush' "

    "hg --config extensions.mq= --config diff.git=1 qpush -a " run without error,but I am not sure the whether this is right, * *http://mercurial.selenic.com/wiki/MqExtension  does not assign 1 to  extension.mq in .hgrc . 

    1. You need the following line in your ~/.hgrc

      [extensions]
      mq=
      
  3. Anonymous

    WARNING: skipping package SUNWPython26: required package SUNWxwplt not installed

    WARNING: and no spec file specified on the command line provides it

    hg: unknown command 'qpush1