You must login to view /gokrazy/tools/commit/0daf1b1ae4ebede88510cbca98b07db7ca211c87?files=go.sum.
The GitHub option should be usable for most people, it only links via username.

Files
tools/packer/packer_stub.go
Michael Stapelberg 0721be4715 move (*os.File).Sync() call into linux-specific packer_linux.go
This fixes the following error on macOS:

sync /dev/disk2: inappropriate ioctl for device

related to https://github.com/gokrazy/gokrazy/issues/22
2022-03-01 18:04:43 +01:00

14 lines
371 B
Go

//go:build !linux && !darwin
// +build !linux,!darwin
package packer
import (
"fmt"
"os"
)
func rereadPartitions(*os.File) error {
return fmt.Errorf("gokrazy is currently missing code for re-reading partition tables on your operating system. Please see the README at https://github.com/gokrazy/tools for alternatives, and consider contributing code to fix this")
}