blob: f18c5e4aa481fab18cc023112fd9122f8b3f53bb [file] [log] [blame] [edit]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package bootserverconstants
import (
"fmt"
)
const (
// Special image names recognized by fuchsia's netsvc.
AuthorizedKeysNetsvcName = "<<image>>authorized_keys"
BoardInfoNetsvcName = "<<image>>board_info"
BootloaderNetsvcName = "<<image>>bootloader.img"
CmdlineNetsvcName = "<<netboot>>cmdline"
EfiNetsvcName = "<<image>>efi.img"
FirmwareNetsvcPrefix = "<<image>>firmware_"
FvmNetsvcName = "<<image>>sparse.fvm"
KerncNetsvcName = "<<image>>kernc.img"
KernelNetsvcName = "<<netboot>>kernel.bin"
VbmetaANetsvcName = "<<image>>vbmetaa.img"
VbmetaBNetsvcName = "<<image>>vbmetab.img"
VbmetaRNetsvcName = "<<image>>vbmetar.img"
ZirconANetsvcName = "<<image>>zircona.img"
ZirconBNetsvcName = "<<image>>zirconb.img"
ZirconRNetsvcName = "<<image>>zirconr.img"
)
func FailedToSendErrMsg(imgName string) string {
return fmt.Sprintf("failed to send %s", imgName)
}