Days ago,oracle released Oracle Solaris 11 SRU 2 repo iso image. It contains only the IPS packages that have been added or changed since the initial release of Solaris 11 11/11. It can be used to update a system running Solaris 11 11/11, including systems which are not connected to the internet.
Before you begin
Download following REPO ISO IMAGE From metalink:
1.Oracle Solaris 11 SRU 1 REPO ISO IMAGE
2.Oracle Solaris 11 SRU 2 REPO ISO IMAGE
I created a local package repository server,following picture is my server configuration.
Mount REPO ISO IMAGE files:
Change mode:
The server is by default in read-only mode,you should change it to write mode then you can update IPS Package Repository.After that,use svcadm command to restart the server.
Using pkgrecv command to update:
Finally,update your system by new IPS Package Repository.
Configure a Name for the Repository
I copied SRU2 package to local filesystem /tools/update.The default name is solaris,you can find it from pkg5.repository file:
Using following command to change prefix's value.
Fore more information from here.