This fixes the following error on macOS: sync /dev/disk2: inappropriate ioctl for device related to https://github.com/gokrazy/gokrazy/issues/22
14 lines
371 B
Go
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")
|
|
}
|