beadm create r151030
/a is a temporary mount point
beadm mount r151030 /a
OmniOSce and OmniTI since r151022 has packages signed by each of these.
wget -P /a/etc/ssl/pkg https://downloads.omniosce.org/ssl/omniosce-ca.cert.pem
wget -P /a/etc/ssl/pkg https://github.com/omniosorg/omnios-build/raw/r151022/build/ca-bundle/files/OmniTI_CA2_OmniOS.pem
pkg -R /a set-publisher \
-G \* -g https://pkg.omnios.org/r151022/core \
-M \* -m https://us-east.mirror.omnios.org/r151022/core \
omnios
pkg -R /a \
set-publisher --set-property signature-policy=require-signatures omnios
pkg -R /a update -f
Expect the following error which is due to the 32-bit kernel being removed in r151022 (a later step resolves this)
pkg: '/sbin/bootadm update-archive -R /a' failed. with a return code of 1.
pkg -R /a set-publisher \
-G \* -g https://pkg.omnios.org/r151030/core \
-M \* -m https://us-east.mirror.omnios.org/r151030/core \
omnios
pkg -R /a set-publisher \
-O https://pkg.omnios.org/r151030/extra \
extra.omnios
pkg -R /a \
set-publisher --set-property signature-policy=require-signatures extra.omnios
pkg -R /a update -f
This may report that no changes are required, but it makes sure that the 1.0 -> 1.1 transition is successful.
pkg -R /a fix openssl
This handles the 32-bit kernel removal
/a/boot/solaris/bin/create_ramdisk -R /a
beadm umount /a
beadm activate r151030
init 6