Bug#624450: grub-common: grub-mkconfig reports new syntax error from previously good custom script

Colin Watson cjwatson at debian.org
Thu Apr 28 16:07:07 UTC 2011


On Thu, Apr 28, 2011 at 03:14:50PM +0100, Hazel Russman wrote:
> Package: grub-common
> Version: 1.99~rc1-13
> Severity: important
> 
> I have a custom script (included by reportbug) for booting Crux (40_custom).
> Previous versions of update-grub and grub-mkconfig have accepted this script.
> The new version gives the following messages:
> error: syntax error
> error: Incorrect command
> error: syntax error
> error: line no: 88 (this is the line on which the EOF<< command occurs)
> 
> and creates a new file /boot/grub/grub.cfg.new. If I make 40_custom
> unexecutable before running update-grub, the error disappears but then I have
> no access to crux.

Could you attach /etc/grub.d/40_custom, please?  Make sure it's an
attachment rather than copying and pasting the contents into an e-mail.

-- 
Colin Watson                                       [cjwatson at debian.org]





More information about the Pkg-grub-devel mailing list