upgrade

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name    = "upgrade"
	Apropos = "upgrade images"
	Usage   = "upgrade [-v VER] [-s SERVER[/dir]] [-r] [-l] [-t] [-a | -g -k -c] [-f]"
	Man     = `` /* 1016-byte string literal not displayed */

	DfltMod = 0755
	DfltSrv = "downloads.platinasystems.com"
	DfltVer = "LATEST"
	Mach    = "mk2"
	Machine = "platina-" + Mach

	//names of server files
	GoesName      = "goes-" + Machine //includes non-compressed tag
	GoesInstaller = "goes-" + Machine + "-installer"
	KernelName    = "linux-image-" + Machine
	CorebootName  = "coreboot-" + Mach + ".rom"
)
View Source
const (
	MaxImgs = 3
	Goes    = 0
	Kern    = 1
	Core    = 2
	GoesBin = "/usr/bin/goes"
)

Variables

View Source
var Install_flag bool = false
View Source
var Reboot_flag bool = false

Functions

This section is empty.

Types

type IMGINFO

type IMGINFO struct {
	Name   string
	Build  string
	User   string
	Size   string
	Tag    string
	Commit string
	Chksum string
}

type Interface

type Interface interface {
	Apropos() lang.Alt
	Main(...string) error
	Man() lang.Alt
	String() string
	Usage() string
}

func New

func New() Interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL