cmd/app: centralise workdir
Test / Create distribution (push) Successful in 51s
Test / Sandbox (push) Successful in 2m47s
Test / ShareFS (push) Successful in 3m48s
Test / Hakurei (push) Successful in 4m1s
Test / Sandbox (race detector) (push) Successful in 5m19s
Test / Hakurei (race detector) (push) Successful in 6m31s
Test / Flake checks (push) Successful in 1m7s
Test / Create distribution (push) Successful in 51s
Test / Sandbox (push) Successful in 2m47s
Test / ShareFS (push) Successful in 3m48s
Test / Hakurei (push) Successful in 4m1s
Test / Sandbox (race detector) (push) Successful in 5m19s
Test / Hakurei (race detector) (push) Successful in 6m31s
Test / Flake checks (push) Successful in 1m7s
This makes the directory structure significantly more manageable. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ func parse(id string, base *check.Absolute, r io.Reader) (*hst.Config, error) {
|
||||
return nil, err
|
||||
} else {
|
||||
c.Identity = v
|
||||
root.Upper = base.Append("template", template, "upper")
|
||||
root.Upper = base.Append("template", template)
|
||||
}
|
||||
|
||||
if err := scanOnce(); err != nil {
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ talk com.canonical.Unity
|
||||
Lower: []*check.Absolute{
|
||||
base.Append("initial"),
|
||||
},
|
||||
Upper: base.Append("template", "nonfree", "upper"),
|
||||
Upper: base.Append("template", "nonfree"),
|
||||
}},
|
||||
{FilesystemConfig: &hst.FSBind{
|
||||
Target: hst.AbsPrivateTmp.Append("home"),
|
||||
|
||||
+2
-2
@@ -93,8 +93,8 @@ func main() {
|
||||
{FilesystemConfig: &hst.FSOverlay{
|
||||
Target: fhs.AbsRoot,
|
||||
Lower: []*check.Absolute{initial},
|
||||
Upper: template.Append(args[0], "upper"),
|
||||
Work: template.Append(args[0], "work"),
|
||||
Upper: template.Append(args[0]),
|
||||
Work: base.Append("work", args[0]),
|
||||
}},
|
||||
{FilesystemConfig: &hst.FSEphemeral{
|
||||
Target: fhs.AbsTmp,
|
||||
|
||||
Reference in New Issue
Block a user