User Tools

Site Tools


tech:openindiana:userland:start

This is an old revision of the document!


Technical Topic: oi-userland

Install from ISO

  • As of 2015-03-30, use hipster ISO for userland building
  • Once logged in, use nwam applet to disable NICs for zones ===
    • Create a profile named “Zones”
    • Add only global zone NIC in the “Activate every time” section
  • Shutdown and remove virtual installation ISO
  • Boot up and install Solaris guest additions
  • Shutdown and remove virtual guest-additions ISO
  • Boot into new system, ready to proceed

Make basic preference/environment changes, as desired

  • Entries in /etc/hosts
  • Desktop preference changes
  • Shell initialization and ~/.* files

Change package repository settings (only if switching from non-hipster):

Set up zone for building

See OpenIndiana for zone basics

Take a snapshot of the zone

  • zlogin oibld init 5
  • cp -pf /etc/zones/oibld.xml /zones/oidev/oibld
  • zfs snapshot -r zonepool/zones/oidev/oibld@snapshotname
  • zoneadm -z oibld boot

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:

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''
    Links: Tech InfoOpenIndianaMantis Area
tech/openindiana/userland/start.1432412662.txt.gz · Last modified: 2015/05/23 15:24 by rk4n3