diff options
author | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2019-03-26 16:06:58 +0100 |
---|---|---|
committer | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2019-03-26 16:06:58 +0100 |
commit | a5b1ffcadfa25582fa8364b73524bfff3e2a274b (patch) | |
tree | 45e7a0601bef560913d4b2672560d01eb96a51f3 /action.go | |
parent | 100044871faa0e1de2f62728c3d5b83e1ce41176 (diff) |
New upstream version 1.0.0+git20190326.5bd4aa9
Diffstat (limited to 'action.go')
-rw-r--r-- | action.go | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -21,7 +21,7 @@ type Partition struct { DevicePath string } -type DebosContext struct { +type CommonContext struct { Scratchdir string Rootdir string Artifactdir string @@ -31,8 +31,6 @@ type DebosContext struct { ImageMntDir string ImageFSTab bytes.Buffer // Fstab as per partitioning ImageKernelRoot string // Kernel cmdline root= snippet for the / of the image - RecipeDir string - Architecture string DebugShell string Origins map[string]string State DebosState @@ -41,6 +39,12 @@ type DebosContext struct { Verbose bool } +type DebosContext struct { + *CommonContext + RecipeDir string + Architecture string +} + type Action interface { /* FIXME verify should probably be prepare or somesuch */ Verify(context *DebosContext) error |