From 344b7dd7c72b27eddbf930722c0eea12149d89b8 Mon Sep 17 00:00:00 2001 From: Vasilito Date: Fri, 17 Apr 2026 21:37:11 +0100 Subject: [PATCH] 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 --- local/docs/GRUB-INTEGRATION-PLAN.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/local/docs/GRUB-INTEGRATION-PLAN.md b/local/docs/GRUB-INTEGRATION-PLAN.md index 17b82a71..f3bf04ad 100644 --- a/local/docs/GRUB-INTEGRATION-PLAN.md +++ b/local/docs/GRUB-INTEGRATION-PLAN.md @@ -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