Documentation
¶
Overview ¶
Package instscript generates the command file loaded by IRIX inst. It opens supplemental sets in order, reopens the primary set last, applies the tested selections, and starts installation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commands ¶
Commands returns inst(1M)'s admin-source sequence, one bare command per line: open each later set, reopen the primary, then run the fixed selection block. It omits "install feature/maint/prereqs", "conflicts", and "quit" by design; "go" is safe because the java_dev.sw.base choice is already applied by name.
func RelatedDists ¶
RelatedDists returns the ".related_dists" marker served alongside the primary distribution. The stock IRIX marker "CD" suppresses inst's interactive related-distribution prompt; Commands opens every enabled set explicitly, so listing them here would make admin source pause.
Types ¶
type Params ¶
type Params struct {
// ServerIP is the netinstall server's address, used as the remote
// host in every "open" command.
ServerIP string
// Sets holds the served dist path of every enabled install set, in
// open order, e.g. ["/6.5.30/dist", "/foundations/dist"]. Must not be
// empty; Sets[0] is the primary release, already open, and reopened
// last by Commands.
Sets []string
}
Params fills in an inst command file with one server's configuration.