Documentation ¶
Index ¶
- Constants
- func BlockSize(block string) (size int64)
- func Checkerr(err error)
- func CreateBootEntry(device string, partition int, loader string, label string)
- func DD(input string, output string, args ...string)
- func Debugshell()
- func Findfs(arg string) string
- func GetBootEntries(keyword string) (entries []string)
- func GetPartitionBeginEnd(device string, nr int) (begin, end int)
- func IsKernelCmdlineContains(substr string) bool
- func ReadKernelCmdline() string
- func Realpath(path string) string
- func Reboot()
- func Serial(authority, key, brand, model, revision, serial string, t time.Time) string
- func SetPartitionFlag(device string, nr int, flag string)
- func Shellcmd(command string)
- func Shellcmdoutput(command string) string
- func Shellexec(args ...string)
- func Shellexecoutput(args ...string) string
- func SignSerial(authority, brand, model, revision, targetFolder, vaultServer string)
- func Sync()
Constants ¶
View Source
const (
WritableImage = "writable_resized.e2fs"
)
Variables ¶
This section is empty.
Functions ¶
func CreateBootEntry ¶
func Debugshell ¶
func Debugshell()
func GetBootEntries ¶
func GetPartitionBeginEnd ¶
func IsKernelCmdlineContains ¶
func ReadKernelCmdline ¶
func ReadKernelCmdline() string
func SetPartitionFlag ¶
func Shellcmdoutput ¶
func Shellexecoutput ¶
func SignSerial ¶
func SignSerial(authority, brand, model, revision, targetFolder, vaultServer string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.