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
|
return nil, err
|
||||||
} else {
|
} else {
|
||||||
c.Identity = v
|
c.Identity = v
|
||||||
root.Upper = base.Append("template", template, "upper")
|
root.Upper = base.Append("template", template)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := scanOnce(); err != nil {
|
if err := scanOnce(); err != nil {
|
||||||
|
|||||||
+1
-1
@@ -76,7 +76,7 @@ talk com.canonical.Unity
|
|||||||
Lower: []*check.Absolute{
|
Lower: []*check.Absolute{
|
||||||
base.Append("initial"),
|
base.Append("initial"),
|
||||||
},
|
},
|
||||||
Upper: base.Append("template", "nonfree", "upper"),
|
Upper: base.Append("template", "nonfree"),
|
||||||
}},
|
}},
|
||||||
{FilesystemConfig: &hst.FSBind{
|
{FilesystemConfig: &hst.FSBind{
|
||||||
Target: hst.AbsPrivateTmp.Append("home"),
|
Target: hst.AbsPrivateTmp.Append("home"),
|
||||||
|
|||||||
+2
-2
@@ -93,8 +93,8 @@ func main() {
|
|||||||
{FilesystemConfig: &hst.FSOverlay{
|
{FilesystemConfig: &hst.FSOverlay{
|
||||||
Target: fhs.AbsRoot,
|
Target: fhs.AbsRoot,
|
||||||
Lower: []*check.Absolute{initial},
|
Lower: []*check.Absolute{initial},
|
||||||
Upper: template.Append(args[0], "upper"),
|
Upper: template.Append(args[0]),
|
||||||
Work: template.Append(args[0], "work"),
|
Work: base.Append("work", args[0]),
|
||||||
}},
|
}},
|
||||||
{FilesystemConfig: &hst.FSEphemeral{
|
{FilesystemConfig: &hst.FSEphemeral{
|
||||||
Target: fhs.AbsTmp,
|
Target: fhs.AbsTmp,
|
||||||
|
|||||||
Reference in New Issue
Block a user