Don't try to copy or create symlinks in /boot

Fixes https://bugs.kali.org/view.php?id=6583
This commit is contained in:
Raphaël Hertzog 2020-07-20 17:39:44 +02:00
parent c5aa610c36
commit 59d466ea89
2 changed files with 2 additions and 2 deletions

View File

@ -87,10 +87,10 @@ if [ "$1" = "configure" ]; then
# necessary account for grub being the active bootloader). # necessary account for grub being the active bootloader).
if dpkg-query --list grub-efi* | grep -v "^... grub-efi[^[:space:]]*-bin" | grep -q "^[ih][HUFWti] " ; then if dpkg-query --list grub-efi* | grep -v "^... grub-efi[^[:space:]]*-bin" | grep -q "^[ih][HUFWti] " ; then
echo "grub-efi* packages found, using 16/9 as default grub background ratio" echo "grub-efi* packages found, using 16/9 as default grub background ratio"
ln -sf /boot/grub/themes/kali/grub-16x9.png /boot/grub/themes/kali/background.png cp /boot/grub/themes/kali/grub-16x9.png /boot/grub/themes/kali/background.png
else else
echo "No grub-efi* package found, using 4/3 as default grub background ratio" echo "No grub-efi* package found, using 4/3 as default grub background ratio"
ln -sf /boot/grub/themes/kali/grub-4x3.png /boot/grub/themes/kali/background.png cp /boot/grub/themes/kali/grub-4x3.png /boot/grub/themes/kali/background.png
fi fi
# Rebuild the grub configuration with our config changes # Rebuild the grub configuration with our config changes
if which update-grub >/dev/null; then if which update-grub >/dev/null; then

View File

@ -1 +0,0 @@
grub-16x9.png

Before

Width:  |  Height:  |  Size: 13 B

After

Width:  |  Height:  |  Size: 309 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 B

After

Width:  |  Height:  |  Size: 309 KiB