Use proper flag for root dir

To indicate where it should look for the grub artifacts

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka 2025-04-14 13:14:11 +02:00
parent e61dc8f00a
commit 58fd5893b8

View File

@ -63,7 +63,7 @@ func (g Grub) Install(target, rootDir, bootDir, grubConf, tty string, efi bool,
grubargs = append(
grubargs,
fmt.Sprintf("--root-directory=%s", rootDir),
fmt.Sprintf("--directory=%s", rootDir),
fmt.Sprintf("--boot-directory=%s", bootDir),
"--target=i386-pc",
target,