Documentation ¶
Overview ¶
Package psximager provides a simple API wrapper around psximager's psxbuild tool. See https://github.com/cebix/psximager. This package is not intended to be used directly.
Code contained in the psxinject.go file wraps the psxinject tool which is part of the psximager tool suite.
Index ¶
Examples ¶
Constants ¶
View Source
const (
// PsxInject is the name of to the psxinject executable.
PsxInject = "psxinject"
)
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute runs an inject command given a cue file, the original file to overwrite inside the image, and the file which shall be injected.
Example ¶
ExampleExecute executes the psxinject command. Modify paths to match your environment.
package main import ( "fmt" "github.com/christowolf/vagrant-story-randomizer/internal/psximager" ) func main() { err := psximager.Execute("./psximager", "cueFile.cue", "orgFile", "injectFile") if err != nil { fmt.Println(err) } }
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.