mirror of
https://github.com/containers/podman.git
synced 2025-09-18 07:51:22 +08:00

This changes /run to /var/run for .containerenv and secrets in FreeBSD containers for consistency with FreeBSD path conventions. Running Linux containers on FreeBSD hosts continue to use /run for compatibility. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
12 lines
183 B
Go
12 lines
183 B
Go
package generate
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/containers/common/libimage"
|
|
)
|
|
|
|
func imageRunPath(ctx context.Context, img *libimage.Image) (string, error) {
|
|
return "/run", nil
|
|
}
|