gnuboot-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 2/5] resources: grub: config: (ab)use shellcheck to check


From: Denis 'GNUtoo' Carikli
Subject: Re: [PATCH v1 2/5] resources: grub: config: (ab)use shellcheck to check it.
Date: Thu, 26 Dec 2024 18:38:38 +0100

On Fri, 13 Dec 2024 14:58:48 +0100
Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> wrote:

> While the grub configuration file format is very different from real
> shell scripts, the similarities are enough to make it pass shellcheck
> with very few adjustements.
This only works in (recent) Guix, with Trisquel 11 (aramo) and PureOS
10 (byzantium) this fails with the following error:
> In resources/grub/config/grub.cfg line 23:
> set prefix=(memdisk)/boot/grub
>            ^-- SC1088 (error): Parsing stopped here. Invalid use of
> parentheses?
> 
> For more information:
>   https://www.shellcheck.net/wiki/SC1088 -- Parsing stopped here. Invalid 
> use...
> [ !! ] resources/grub/config/grub.cfg failed

So either the patch needs to fix this (by disabling SC1088) and
subsequent errors or it needs to be dropped.

Denis.

Attachment: pgpxtTiArWQyu.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]