From fb6e758009d5076aae6d0f49e6934964358b6418 Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Sun, 27 Feb 2022 17:57:26 +0100 Subject: [PATCH] fix initramfs not being fetched from system --- vfio-setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vfio-setup b/vfio-setup index fd14192..399b3ff 100755 --- a/vfio-setup +++ b/vfio-setup @@ -77,12 +77,13 @@ if [ -f "/etc/default/grub" ]; then # Currently we do not modify bootloaders, will ask users to do it instead #cp "/etc/default/grub" "$SCRIPTDIR/$DEFAULT/grub" + echo "" fi if [ -f "/etc/initramfs-tools/modules" ]; then # This copies /etc/initramfs-tools/modules without the vfio modules - grep -v "vfio" "/etc/initramfs-tools/modules" > "$SCRIPTDIR/$INITRAMFS" + grep -v "vfio" "/etc/initramfs-tools/modules" > "$SCRIPTDIR/$INITRAMFS/modules" else touch "$SCRIPTDIR/$INITRAMFS" fi