From 2ad223fa834645974806ddc663fe98a69849342f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 14 Sep 2024 00:07:34 +0200 Subject: [PATCH] grub/extra --- rwx/grub/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rwx/grub/__init__.py b/rwx/grub/__init__.py index accec9f..21b2bf5 100644 --- a/rwx/grub/__init__.py +++ b/rwx/grub/__init__.py @@ -35,6 +35,6 @@ def make_image( if pubkey_path: args.append(("--pubkey", pubkey_path)) args.extend(modules) - if modules := MODULES.get(image_format): - args.extend(modules) + if extra_modules := MODULES.get(image_format): + args.extend(extra_modules) ps.run(*args)