grub-netboot.cfg does not load $prefix/$platform/grub.cfg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
grub-netboot.cfg (the config that is embedded in grubnetx64.efi / grubnetaa64.efi looks like this:
cat >"$workdir/
if [ -e \$prefix/
source \$prefix/
else
source \$prefix/grub.cfg
fi
EOF
This looks like the intent is to load e.g. grub/x86_
I first thought that this was expected / by design but on reading the patches we carry to grub I'm not completely sure and maybe this is a bug in grub rather than a pointer that writing the config like this is pointless. But the config definitely doesn't work as expected.