diff --git a/config.sh b/config.sh
index 4a5ae56..bd56e35 100644
--- a/config.sh
+++ b/config.sh
@@ -722,8 +722,10 @@ function genericarm_sbc_steps() {
mkdir -p /boot/efi/EFI/BOOT
if [ -d /boot/efi/EFI/rocky/ ] && [ -f /boot/efi/EFI/rocky/grubaa64.efi ];then
for j in grub.cfg grubenv;do
- mv -f /boot/grub2/${j} /boot/efi/EFI/rocky/
- ln -s ../efi/EFI/rocky/${j} /boot/grub2/${j}
+ if [ -f "/boot/grub2/${j}" ]; then
+ mv -f /boot/grub2/${j} /boot/efi/EFI/rocky/
+ ln -s ../efi/EFI/rocky/${j} /boot/grub2/${j}
+ fi
done
cp -f /boot/efi/EFI/rocky/grubaa64.efi /boot/efi/EFI/BOOT/BOOTAA64.EFI
fi
diff --git a/repositories/gnulab-tmp.xml b/repositories/gnulab-tmp.xml
index 8d08113..396829a 100644
--- a/repositories/gnulab-tmp.xml
+++ b/repositories/gnulab-tmp.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/sbc/pi.xml b/sbc/pi.xml
index 0549cf9..bd0e32a 100644
--- a/sbc/pi.xml
+++ b/sbc/pi.xml
@@ -32,7 +32,7 @@