Media build part 1 (unreleased): real restart (R-1026), media apps on every PRESENT drive via an owned compose override (R-1023), dead-drive check from mountinfo, removal never deletes shared/:ro binds (R-1027), safety list knows userdata (R-1032), no drive question for media apps (R-1031)
gates / gates (push) Successful in 46s

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-15 09:25:43 +02:00
parent 331be17e1e
commit 78c894234c
13 changed files with 984 additions and 9 deletions
+5
View File
@@ -383,6 +383,11 @@ func (m *Manager) DeployStack(req DeployRequest) (string, error) {
} else if field.Default != "" {
value = field.Default
}
// R-1031: a media app is not asked for a drive — its own config goes on the default drive.
if value == "" && field.EnvVar == "HDD_PATH" && field.Type == "path" && meta.MediaLibrary != nil {
value = m.defaultMediaDrive()
m.logger.Printf("[INFO] [stacks] Deploy %s: a media app — HDD_PATH (its own config) on the default drive %q; the media binds cover every present drive", req.StackName, value)
}
}
// Validate required fields