2023-05-13 10:47:47 +00:00
|
|
|
// Copyright 2023 Mikhail Klementev. All rights reserved.
|
2019-08-31 07:50:29 +00:00
|
|
|
// Use of this source code is governed by a AGPLv3 license
|
|
|
|
// (or later) that can be found in the LICENSE file.
|
|
|
|
|
2023-05-13 10:47:47 +00:00
|
|
|
//go:build darwin
|
2019-08-31 07:50:29 +00:00
|
|
|
// +build darwin
|
|
|
|
|
2023-05-13 10:47:47 +00:00
|
|
|
package kernel
|
2019-08-31 07:50:29 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
2023-05-23 22:44:25 +00:00
|
|
|
"code.dumpstack.io/tools/out-of-tree/distro"
|
2019-08-31 07:50:29 +00:00
|
|
|
)
|
|
|
|
|
2023-05-23 22:44:25 +00:00
|
|
|
func GenHostKernels(download bool) (kernels []distro.KernelInfo, err error) {
|
2019-08-31 07:50:29 +00:00
|
|
|
err = errors.New("generate host kernels for macOS is not supported")
|
|
|
|
return
|
|
|
|
}
|