blob: 0d08fd7ab096cf11f816c1082f96b3b33d114638 [file] [log] [blame]
// Copyright 2022 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef INSTALLER_EFI_BOOT_MANAGEMENT_H_
#define INSTALLER_EFI_BOOT_MANAGEMENT_H_
#include "installer/chromeos_install_config.h"
// On systems with CrOS-managed EFI boot entries: tries to ensure a single
// EFI boot entry exists. Returns false for failures that can interfere with
// future booting, true otherwise.
// On other systems: no-op. Always returns true.
bool UpdateEfiBootEntries(const InstallConfig& install_config);
#endif // INSTALLER_EFI_BOOT_MANAGEMENT_H_