From 0dcac55a0c3fcbb2d48028a4474ccecb37bb22fc Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 25 Aug 2025 19:13:31 +0900 Subject: 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 --- internal/app/container_linux.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'internal/app/container_linux.go') 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) -- cgit v1.3.1