diff options
| author | Mark Johnston <markjdb@gmail.com> | 2019-03-04 22:30:02 -0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-12 14:30:21 +0100 |
| commit | b489e4987d1c181b1e4d16a8bbc32b97a90b9d8d (patch) | |
| tree | b277066cd8df0d65fe8331a67334936df41a7797 /pkg/build/netbsd.go | |
| parent | 12365b99ce83b8a58433eaedbe412dff563ef8fb (diff) | |
pkg/build: don't export OS-specific functions
Diffstat (limited to 'pkg/build/netbsd.go')
| -rw-r--r-- | pkg/build/netbsd.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/build/netbsd.go b/pkg/build/netbsd.go index e23792975..91280577e 100644 --- a/pkg/build/netbsd.go +++ b/pkg/build/netbsd.go @@ -60,7 +60,7 @@ no options SVS return fmt.Errorf("failed to copy %v -> %v: %v", fullSrc, fullDst, err) } } - return CopyKernelToDisk(targetArch, vmType, outputDir, filepath.Join(compileDir, "netbsd")) + return ctx.copyKernelToDisk(targetArch, vmType, outputDir, filepath.Join(compileDir, "netbsd")) } func (ctx netbsd) clean(kernelDir, targetArch string) error { @@ -70,7 +70,7 @@ func (ctx netbsd) clean(kernelDir, targetArch string) error { } // Copy the compiled kernel to the qemu disk image using ssh. -func CopyKernelToDisk(targetArch, vmType, outputDir, kernel string) error { +func (ctx netbsd) copyKernelToDisk(targetArch, vmType, outputDir, kernel string) error { vmConfig := ` { "snapshot": false, |
