From 2ffb6cf99150fa1c0f60f297671eccbccbec5fe8 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Tue, 3 Dec 2024 14:00:21 +0100 Subject: [PATCH] 45-grub-images: fix quoting Fixes: 5eb2286046098c77cf43d45d18e023eda2aa4c9c --- etc/grml/fai/config/scripts/GRMLBASE/45-grub-images | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images index 4e999b23..3e1e019c 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images +++ b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images @@ -73,10 +73,11 @@ for arch in "${ARCHS[@]}" ; do arm64-efi) filename=/boot/bootaa64.efi ;; esac + read -r -a modules <<< "${ADDITIONAL_MODULES[$arch]}" $ROOTCMD grub-mkimage -O "$arch" -o "$filename" --prefix=/boot/grub/ --config="$TMP_CONFIG" \ echo iso9660 part_msdos search_fs_file test \ fat ext2 reiserfs xfs btrfs squash4 part_gpt lvm \ - "${ADDITIONAL_MODULES[$arch]}" + "${modules[@]}" done rm -f "${target}/${TMP_CONFIG}"