upgrade

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DfltMod = 0755
	DfltSrv = "downloads.platinasystems.com"
	DfltVer = "LATEST"
	Mach    = "mk1"
	Machine = "platina-" + Mach

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

Variables

View Source
var Install_flag bool = false

Functions

func GetVersionInfo

func GetVersionInfo() (vg string, vk string, vc string, err error)

Types

type Command

type Command struct{}

func (Command) Apropos

func (Command) Apropos() lang.Alt

func (Command) Main

func (Command) Main(args ...string) error

func (Command) Man

func (Command) Man() lang.Alt

func (Command) String

func (Command) String() string

func (Command) Usage

func (Command) Usage() string

type IMGINFO

type IMGINFO struct {
	Name   string
	Build  string
	User   string
	Distro string
	Size   string
	Tag    string
	Fe1    string
	Fe1Fw  string
	Extra  string
	Commit string
	Chksum string
}

Jump to

Keyboard shortcuts

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