mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 15:20:17 +00:00
fix(bootloader-interface): autoconfigure should produce auto-* entries to match spec
This commit is contained in:
@@ -72,7 +72,7 @@ pub fn scan(
|
|||||||
|
|
||||||
// Generate a unique name for the BLS generator and insert the generator into the configuration.
|
// Generate a unique name for the BLS generator and insert the generator into the configuration.
|
||||||
config.generators.insert(
|
config.generators.insert(
|
||||||
format!("autoconfigure-bls-{}", root_unique_hash),
|
format!("auto-bls-{}", root_unique_hash),
|
||||||
GeneratorDeclaration {
|
GeneratorDeclaration {
|
||||||
bls: Some(generator),
|
bls: Some(generator),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ pub fn scan(
|
|||||||
|
|
||||||
// Generate a unique name for the Linux generator and insert the generator into the configuration.
|
// Generate a unique name for the Linux generator and insert the generator into the configuration.
|
||||||
config.generators.insert(
|
config.generators.insert(
|
||||||
format!("autoconfigure-linux-{}", root_unique_hash),
|
format!("auto-linux-{}", root_unique_hash),
|
||||||
GeneratorDeclaration {
|
GeneratorDeclaration {
|
||||||
list: Some(generator),
|
list: Some(generator),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ pub fn scan(
|
|||||||
let chainload_action_name = format!("{}{}", WINDOWS_CHAINLOAD_ACTION_PREFIX, root_unique_hash,);
|
let chainload_action_name = format!("{}{}", WINDOWS_CHAINLOAD_ACTION_PREFIX, root_unique_hash,);
|
||||||
|
|
||||||
// Generate an entry name for Windows.
|
// Generate an entry name for Windows.
|
||||||
let entry_name = format!("autoconfigure-windows-{}", root_unique_hash,);
|
let entry_name = format!("auto-windows-{}", root_unique_hash,);
|
||||||
|
|
||||||
// Create an entry for Windows and insert it into the configuration.
|
// Create an entry for Windows and insert it into the configuration.
|
||||||
let entry = EntryDeclaration {
|
let entry = EntryDeclaration {
|
||||||
|
|||||||
Reference in New Issue
Block a user