Codebase list grub2 / d8a7472
Make prebuilt netboot image look for grub.cfg-$deb_arch This is the path MAAS uses for example and can be useful to deliver different grub config to different architectures. [jak@debian.org: reword commit message] Dimitri John Ledkov authored 3 years ago Julian Andres Klode committed 11 months ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
8080 cat >"$workdir/grub-netboot.cfg" <<EOF
8181 if [ -e \$prefix/$platform/grub.cfg ]; then
8282 source \$prefix/$platform/grub.cfg
83 elif [ -e \$prefix/grub.cfg-$deb_arch ]; then
84 source \$prefix/grub.cfg-default-$deb_arch
8385 else
8486 source \$prefix/grub.cfg
8587 fi