Fix INSTALLER_OPTS clobbering warning in GRUB docs
INSTALLER_OPTS replaces the default --cookbook=. value, so the docs now show the full invocation with --cookbook=. included and recommend using the config file approach instead. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -207,12 +207,16 @@ bootloader = "grub"
|
||||
efi_partition_size = 16
|
||||
```
|
||||
|
||||
Or via CLI:
|
||||
Or via CLI (note: INSTALLER_OPTS replaces defaults, so --cookbook=. must be included):
|
||||
```bash
|
||||
./target/release/repo cook installer
|
||||
make all CONFIG_NAME=redbear-full INSTALLER_OPTS="--bootloader grub"
|
||||
make all CONFIG_NAME=redbear-full INSTALLER_OPTS="--cookbook=. --bootloader grub"
|
||||
```
|
||||
|
||||
**Note:** The config file approach (`redbear-full-grub.toml`) is preferred over the CLI flag
|
||||
because INSTALLER_OPTS completely replaces the default value (`--cookbook=.`) rather than
|
||||
appending to it. Omitting `--cookbook=.` breaks local package resolution for GRUB.
|
||||
|
||||
## GRUB Recipe Design
|
||||
|
||||
The GRUB recipe uses `template = "custom"` because GRUB must be built for the
|
||||
|
||||
Reference in New Issue
Block a user