4a. Common Build Environment - Introduction
Image Packaging System
by:
Michal Pryc (michal.pryc [At sun.com)
Wednesday, June 25th 2008; 14:30-17:30
Menu:
1. Information
2. Instructions
3. Already existing spec-files
4. References
This part of the tutorial will show how to use pkgtool
to build a package and how to solve few problems which may occure.
This section will present few commands used in this part of the tutorial.
For instructions what command line options are available please follow those two steps:
Switch to the CBE environment:$ source /opt/jdsbld/bin/env.sh
$ pkgtool --help
Download all the community source tarballs needed to build the SUNWgnome-panel package:
$ pkgtool download SUNWgnome-panel.spec
Download, build, and install all the packages in the correct order:
$ pkgtool --download build-install *.spec
Uninstall packages SUNWgnome-utils and SUNWgnome-config-editor:
$ pkgtool uninstall-pkgs SUNWgnome-utils.spec SUNWgnome-config-editor.spec
Build the SUNWgnome-img-viewer package, but don't install it:
$ pkgtool build-only SUNWgnome-img-viewer.spec
3. Already existing spec-files
Below is the list of already existing spec-files for use with CBE, so you can download and build them:
SFE - spec-files-extra$ svn co https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk
$ svn co svn+ssh://anon@svn.opensolaris.org/svn/jds/spec-files/trunk
$ svn co svn+ssh://anon@svn.opensolaris.org/svn/xfce/spec-files-xfce/trunk
1. JDS Common Build Environment