Hi Andrzej,
I tried to document this, it works nice but at the end I get dependency
errors:
Start with a clean install:
make a source directory:
sudo mkdir /source
sudo chown $USER /source
sudo pkg install \
developer/build/autoconf \
developer/build/automake-110 \
developer/opensolaris/pkg5 \
developer/swig \
developer/versioning/mercurial \
gnome/accessibility/gnome-a11y-libs \
library/python-2/python-gnome-extras-26 \
library/python-2/python-notify-26 \
package/pkg/package-manager \
package/pkg/update-manager \
developer/python/pylint \
service/network/dns/mdns \
system/library/math/header-math \
text/gnu-patch \
developer/gnome/gnome-doc-utils \
system/header \
library/python-2/python-gnome-libs-26 \
developer/versioning/git \
pkg:/library/python-2/coverage \
pkg:/library/python-2/python-gnome-desktop-26
Install the sun patched compilers here:
sudo mkdir /opt/SUNWspro
cd /opt/SUNWspro
(please upload the compilers in this directory)
sudo tar -xvjf sunstudio12-patched-ii-2009Sep-sol-x86.tar.bz2
sudo tar -xvzf sunstudio12-patched-ii-2009Sep-sol-x86.tar.bz2
Oh, one file needs to be edited manually to get linked images working
(it is part of illumos-gate):
--- /usr/lib/brand/ipkg/config.xml.orig Mon Jan 16 18:08:42 2012
+++ /usr/lib/brand/ipkg/config.xml Mon Jan 16 18:08:09 2012
@@ -39,9 +39,9 @@
<!-- We may not be able to do the create in pkg(1) proper. -->
<install>/usr/lib/brand/ipkg/pkgcreatezone -z %z -R %R</install>
<installopts>a:c:d:e:hk:P:p:suv</installopts>
- <boot></boot>
+ <boot>/usr/lib/brand/ipkg/boot %z %R</boot>
<sysboot>/usr/lib/brand/ipkg/prestate %z %R 2 0</sysboot>
- <halt></halt>
+ <halt>/usr/lib/brand/ipkg/halt %z %R</halt>
<verify_cfg></verify_cfg>
<verify_adm></verify_adm>
<postclone></postclone>
Install a newer git:
sudo /usr/bin/pkg set-publisher -p http://pkg.openindiana.org/experimental/
sudo /usr/bin/pkg set-publisher -P oi-experimental
sudo /usr/bin/pkg set-publisher --non-sticky openindiana.org
sudo pkg uninstall entire
sudo pkg install pkg://oi-experimental/consolidation/sfw/sfw-incorporation
sudo pkg install
pkg://oi-experimental/developer/versioning/[email protected],5.11-1.1
sudo pkg set-publisher -P openindiana.org
sudo pkg unset-publisher oi-experimental
Set the environment:
unset CC
unset CXX
PATH=/usr/bin:/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin
export PATH
cd /source
git clone git://github.com/aszeszo/pkg5.git
cd /source/pkg5/src
make install
cd pkg
make install
At the end of this step I get dependency errors
Do I miss something ?
On 16/01/12 19:26, Andrzej Szeszo wrote:
Hi All
I have re-started getting current pkg5 codebase in shape few days ago.
I wanted to get zone support working better on top of
illumos/OpenIndiana. It is still work in progress but linked images
and system repository stuff seems to work OK.
I need to prevent scripts from creating zone boot environments still
as illumos doesn't support that (rpool/zones/zone1/ROOT/zbe-1, zbe-2,
etc.). Alternative would be to add such support. I have not looked at
it yet.
The code lives here: https://github.com/aszeszo/pkg5
You can check it out using git or mercurial (with hg-git extension
enabled):
git clone git://github.com/aszeszo/pkg5.git
hg clone git://github.com/aszeszo/pkg5.git
And then build it and generate packages by running:
cd src && make install && cd pkg && make install
Oh, one file needs to be edited manually to get linked images working
(it is part of illumos-gate):
--- /usr/lib/brand/ipkg/config.xml.orig Mon Jan 16 18:08:42 2012
+++ /usr/lib/brand/ipkg/config.xml Mon Jan 16 18:08:09 2012
@@ -39,9 +39,9 @@
<!-- We may not be able to do the create in pkg(1) proper. -->
<install>/usr/lib/brand/ipkg/pkgcreatezone -z %z -R %R</install>
<installopts>a:c:d:e:hk:P:p:suv</installopts>
- <boot></boot>
+ <boot>/usr/lib/brand/ipkg/boot %z %R</boot>
<sysboot>/usr/lib/brand/ipkg/prestate %z %R 2 0</sysboot>
- <halt></halt>
+ <halt>/usr/lib/brand/ipkg/halt %z %R</halt>
<verify_cfg></verify_cfg>
<verify_adm></verify_adm>
<postclone></postclone>
Cheers,
Andrzej
_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev
_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev