mirror of
https://github.com/moby/moby.git
synced 2026-08-03 22:51:03 +00:00
Merge pull request #46094 from slonopotamus/darwin-build-fix
pkg/chrootarchive: fix Darwin build
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//go:build unix && !linux
|
||||
|
||||
package chrootarchive // import "github.com/docker/docker/pkg/chrootarchive"
|
||||
|
||||
import (
|
||||
@@ -15,9 +17,9 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
packCmd = "freebsd-pack-in-chroot"
|
||||
unpackCmd = "freebsd-unpack-in-chroot"
|
||||
unpackLayerCmd = "freebsd-unpack-layer-in-chroot"
|
||||
packCmd = "chrootarchive-pack-in-chroot"
|
||||
unpackCmd = "chrootarchive-unpack-in-chroot"
|
||||
unpackLayerCmd = "chrootarchive-unpack-layer-in-chroot"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build unix && !linux
|
||||
|
||||
package chrootarchive // import "github.com/docker/docker/pkg/chrootarchive"
|
||||
|
||||
import (
|
||||
Reference in New Issue
Block a user