User Tools

Site Tools


tech:openindiana:userland:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tech:openindiana:userland:start [2015/05/23 15:24]
rk4n3 created
tech:openindiana:userland:start [2015/05/23 15:38] (current)
rk4n3
Line 17: Line 17:
  
 === Change package repository settings (only if switching from non-hipster):​ === === Change package repository settings (only if switching from non-hipster):​ ===
-  * pkg unset-publisher openindiana.org +  * ''​pkg unset-publisher openindiana.org''​ 
-  * pkg set-publisher -p http://​pkg.openindiana.org/​hipster-2015 +  * ''​pkg set-publisher -p %%http://​pkg.openindiana.org/​hipster-2015%%''​ 
-  * pkg install -v package/​pkg +  * ''​pkg install -v package/pkg''​ 
-  * pkg update -v+  * ''​pkg update -v''​
  
 === Set up zone for building === === Set up zone for building ===
Line 31: Line 31:
   * ''​zoneadm -z oibld boot''​   * ''​zoneadm -z oibld boot''​
  
-==== Following guide at http://​wiki.openindiana.org/​oi/​Building+with+oi-userland ... ==== +// **Following guide at http://​wiki.openindiana.org/​oi/​Building+with+oi-userland ...** //
-  ​Ensure up-to-date (if installed from hipster ISO): ''​pkg update -v''​ +
-  ​Install these prerequisite packages in the zone: ''​pkg install build-essential''​ +
-  * Create a fork of OpenIndiana/oi-userland in your own github account space+
  
-=== Clone your fork and set up for use: === +=== Ensure ​up-to-date with pre-requisites ​=== 
-  * ''​git clone https://www.github.com/yourlogin/oi-userland''​ +  * Update zone // (if installed from hipster ISO) // : ''​pkg update ​-v''​ 
-  * ''​cd $HOME/​oi-userland ; gmake setup ; gmake check-environment''​+  * Install prerequisite packages in the zone: ''​pkg install build-essential''​
  
-=== Set your local repo as publisher: ​=== +=== Set up build environment for use === 
-  * ''​pkg set-publisher -p file://​$HOME/​oi-userland/​i386/​repo''​ +  * Create a fork of OpenIndiana/​oi-userland in your own github account space 
-  * ''​pkg set-publisher -P userland''​ +  * Clone your fork and set up for use<​code>​git clone https://​www.github.com/​yourlogin/​oi-userland 
- +cd $HOME/​oi-userland ; gmake setup ; gmake check-environment</​code>​ 
-=== Run a local package server for other zones or hosts: ​=== +  * Set your local repo as publisher:<​code>​pkg set-publisher -p file://​$HOME/​oi-userland/​i386/​repo 
-  * ''​/​usr/​lib/​pkg.depotd -d $HOME/​oi-userland/​i386/​repo -p 10000''​+pkg set-publisher -P userland</​code>​ 
 +  ​* ​Run a local package server for other zones or hosts:<​code>​/​usr/​lib/​pkg.depotd -d $HOME/​oi-userland/​i386/​repo -p 10000</​code>​
  
  \\  \\
 // Links: [[:​tech:​start|Tech Info]] ... [[:​tech:​openindiana:​start|OpenIndiana]] ... [[:​mantis:​start|Mantis Area]] // // Links: [[:​tech:​start|Tech Info]] ... [[:​tech:​openindiana:​start|OpenIndiana]] ... [[:​mantis:​start|Mantis Area]] //
  
tech/openindiana/userland/start.1432412662.txt.gz · Last modified: 2015/05/23 15:24 by rk4n3