| 2004 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
| 2006 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Oct | Oct | |
| 2007 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 2007 |
| 2008 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 2008 |
| 2009 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 2009 |
| 2010 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 2010 |
| 2011 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 2011 |
| 2012 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 2012 |
| 2013 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | 2013 |
Tue 20th Dec 08:48 2011: Solaris Packaging with Zones
One handy use for Solaris Zones that I have come across recently, is a very quick and easy way to build packages. Rather than "polluting" the main filesystem tree with the software to be packaged, simply create a zone, install the software there, and as a final act, you can even prune unwanted parts of the tree before packaging it up and disposing of the zone.
I had some software to install into /usr/local; the existing tree includes some (non-essential) software already in /usr/local, so I created a full-root zone, cleaned /usr/local within the zone, built the software (configure && make && make install), which was actually Perl, some third-party libraries, and 30 or so modules, and tested it in the zone.
Then to package it up, simply drop back to the global zone:
# cd /tmp/pkg
# echo "i pkginfo" > prototyp
# pkgproto /zones/myzone/root/usr/local=/usr/local >> /tmp/pkg/prototype
# cat - > pkginfo << EOF
NAME=Perl Stuff
PKG=MYperl
CLASSES=none
PSTAMP=
VERSION=5.8.9
EOF
# pkgmk
The package is ready in /var/spool/pkg/MYperl. You can use pkgtrans to ocnvert this into a MYperl.pkg file.
Comments for 'Solaris Packaging with Zones'
You could post a comment if you were logged in.
You are logged in as 0

