Child pages
  • Original Instructions
Skip to end of metadata
Go to start of metadata

Deprecated - please see one of the other sub pages.

Information here for historical purposes / reference

1. Install (or update to) snv_134.

2. Install packages:
pkg install -v SUNWapch22 SUNWapch SUNWpostgr-83-devel SUNWpostgr \
SUNWtss SUNWnet-snmp-utils SUNWiscsitgt SUNWpostgr-83-contrib \
SUNWgnome-xml SUNWcups runtime/perl-510 runtime/perl-510/extra sunstudio12u1

developer/opensolaris/osnet
(go to pkg.sun.com and get an access to the 'OpenSolaris extras' repository)
mkdir -m 0755 -p /var/pkg/ssl
cp OpenSolaris_extras* /var/pkg/ssl/
pkg set-authority -k /var/pkg/ssl/OpenSolaris_extras.key.pem -c /var/pkg/ssl/OpenSolaris_extras.certificate.pem -Ohttps://pkg.sun.com/opensolaris/extra extra

pkg install -v developer/opensolaris/osnet

3. Build pkg-gate:

pkg install -v gettext system/zones/internal FSWxorg-headers \
developer/opensolaris/pkg5 library/python-2/setuptools-26 runtime/python-25 ss-dev

hg clone ssh://anon@hg.opensolaris.org/hg/pkg/gate pkg-gate
cd pkg-gate/src
dmake install
cd ../proto/root_`uname -p`

Copy pkg files:

tar cf - * | (cd / ; tar xvpf -)

4. Build onnv-gate (between b137 and b143).

[insert detailed steps here]

5. Create a local repo:

/usr/lib/pkg.depotd -p 1500 -d /onnv-gate/packages/i386/nightly/repo.redist/ --readonly

6. Update the base system:

beadm create nightly
beadm mount nightly /mnt/x
pkg -R /mnt/x set-publisher --non-sticky opensolaris.org
pkg -R /mnt/x uninstall entire

pkg -R /mnt/x set-publisher -P -O http://localhost:1500 on-nightly
pkg -R /mnt/x refresh --full
pkg -R /mnt/x image-update -v

beadm umount nightly
beadm activate nightly

In case you stuck with b134 and are not able to upgrade, you can update at least these files from snv_137 or newer:
ls -alh /lib/libld.so.4 /lib/liblddbg.so.4 /lib/amd64/libld.so.4 /lib/amd64/liblddbg.so.4
-rwxr-xr-x 1 root bin 1.1M Jul 28 18:47 /lib/amd64/libld.so.4
-rwxr-xr-x 1 root bin 374K Jul 28 18:49 /lib/amd64/liblddbg.so.4
-rwxr-xr-x 1 root bin 838K Jul 28 18:39 /lib/libld.so.4
-rwxr-xr-x 1 root bin 269K Jul 28 18:40 /lib/liblddbg.so.4

ls -alh /usr/bin/amd64/elfedit /usr/bin/elfedit /usr/bin/elfdump /usr/bin/amd64/elfdump
-r-xr-xr-x 1 root bin 213K Jul 28 22:40 /usr/bin/amd64/elfedit
-r-xr-xr-x 1 root bin 165K Jul 28 22:39 /usr/bin/elfedit
-r-xr-xr-x 1 root bin 374K Jul 29 10:30 /usr/bin/amd64/elfdump
-r-xr-xr-x 1 root bin 286K Jul 29 10:29 /usr/bin/elfdump

as well as pkg:/developer/linker package

  • No labels