From ad47e5877b05036144a0eb59e69d31fc9fb8d2a4 Mon Sep 17 00:00:00 2001 From: shadichy Date: Sat, 18 Jan 2025 01:18:54 +0700 Subject: [PATCH] post-install.sh: Move grub theme to iso and symlink back Signed-off-by: shadichy --- scripts/post-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/post-install.sh b/scripts/post-install.sh index 940fe85..889d7be 100755 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -1,8 +1,8 @@ #!/bin/bash # Copy grub2 theme -cp -r /usr/share/grub/themes /iso/boot/grub -mkdir -p /boot/grub/themes /usr/share/grub/themes +mv /usr/share/grub/themes /iso/boot/grub +ln -s /boot/grub/themes /usr/share/grub # Generate a grub-rescue iso so we can use it as the base for the iso grub-mkrescue \