diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-25 19:13:31 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-25 19:24:33 +0900 |
| commit | 0dcac55a0c3fcbb2d48028a4474ccecb37bb22fc (patch) | |
| tree | d4f4440ac8ce805cbc46b8658572fe7a702d78fd /internal/app/container_linux.go | |
| parent | 6d202d73b41d28166f7bea7da36d1ce054711ff9 (diff) | |
hst/config: remove container etc field
This no longer needs special treatment since it can be specified as a generic filesystem entry.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/container_linux.go')
| -rw-r--r-- | internal/app/container_linux.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/internal/app/container_linux.go b/internal/app/container_linux.go index 30477fee..d604012f 100644 --- a/internal/app/container_linux.go +++ b/internal/app/container_linux.go @@ -244,18 +244,6 @@ func newContainer(s *hst.ContainerConfig, os sys.State, prefix string, uid, gid params.Link(l.Target, linkname, dereference) } - if !s.AutoEtc { - if s.Etc != nil { - params.Bind(s.Etc, container.AbsFHSEtc, 0) - } - } else { - if s.Etc == nil { - params.Etc(container.AbsFHSEtc, prefix) - } else { - params.Etc(s.Etc, prefix) - } - } - // no more ContainerConfig paths beyond this point if !s.Device { params.Remount(container.AbsFHSDev, syscall.MS_RDONLY) |
