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

Both sides previous revision Previous revision
Next revision
Previous revision
tech:openindiana:userland:start [2015/05/23 15:27]
rk4n3
tech:openindiana:userland:start [2015/05/23 15:38] (current)
rk4n3
Line 18: Line 18:
 === 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''​
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: ​=== +
-  * ''​pkg set-publisher -p file://$HOME/oi-userland/i386/​repo''​ +
-  * ''​pkg ​set-publisher -P userland''​ +
- +
-=== Run a local package server for other zones or hosts: === +
-  * ''​/usr/lib/pkg.depotd -d $HOME/​oi-userland/​i386/​repo ​-p 10000''​+
  
 +=== Set up build environment for use ===
 +  * Create a fork of OpenIndiana/​oi-userland in your own github account space
 +  * 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>​
 +  * Set your local repo as publisher:<​code>​pkg set-publisher -p file://​$HOME/​oi-userland/​i386/​repo
 +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.1432412852.txt.gz · Last modified: 2015/05/23 15:27 (external edit)