diff --git a/pkg/timezone/timezone_linux.go b/pkg/timezone/timezone.go similarity index 99% rename from pkg/timezone/timezone_linux.go rename to pkg/timezone/timezone.go index 003936307..0b791cce7 100644 --- a/pkg/timezone/timezone_linux.go +++ b/pkg/timezone/timezone.go @@ -1,4 +1,4 @@ -//go:build linux +//go:build !windows && !darwin package timezone diff --git a/pkg/timezone/timezone_unsupported.go b/pkg/timezone/timezone_unsupported.go new file mode 100644 index 000000000..224d1be85 --- /dev/null +++ b/pkg/timezone/timezone_unsupported.go @@ -0,0 +1,7 @@ +//go:build windows || darwin + +package timezone + +func ConfigureContainerTimeZone(timezone, containerRunDir, mountPoint, etcPath, containerID string) (string, error) { + return "", nil +}