aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/build/linux_nolinux.go
blob: 03ea0da272d782e8afd6c71851c91a2461b6e4a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2021 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

//go:build !linux
// +build !linux

package build

import (
	"errors"
)

func embedLinuxKernel(params Params, kernelPath string) error {
	return errors.New("building linux image is only supported on linux")
}

func embedFiles(params Params, callback func(mountDir string) error) error {
	return errors.New("building linux image is only supported on linux")
}