Subject: [bug#60055] [PATCH] scripts: system: Skip initrd modules check when using --target.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 21 Dec 2022 14:34:48 +0100

Hi,

Maxim Cournoyer <[email-masked]> skribis:

> * guix/scripts/system.scm (perform-action): Do not call CHECK-INITRD-MODULES
> when the %current-target-system parameter is set.

[...]

> +      (unless (%current-target-system)
> +        ;; Skip the check if the user is making use of --target, as it doesn't
> +        ;; make sense in this context.
> +        (check-initrd-modules os))))

s/doesn’t make sense.*/cannot be checked against the running kernel./

Otherwise LGTM, thanks!

Ludo’.