Don't try to copy or create symlinks in /boot
Fixes https://bugs.kali.org/view.php?id=6583
This commit is contained in:
parent
c5aa610c36
commit
59d466ea89
4
debian/kali-themes.postinst
vendored
4
debian/kali-themes.postinst
vendored
@ -87,10 +87,10 @@ if [ "$1" = "configure" ]; then
|
||||
# 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
|
||||
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
|
||||
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
|
||||
# Rebuild the grub configuration with our config changes
|
||||
if which update-grub >/dev/null; then
|
||||
|
||||
@ -1 +0,0 @@
|
||||
grub-16x9.png
|
||||
|
Before Width: | Height: | Size: 13 B After Width: | Height: | Size: 309 KiB |
BIN
share/grub/themes/kali/background.png
Normal file
BIN
share/grub/themes/kali/background.png
Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 13 B After Width: | Height: | Size: 309 KiB |
Loading…
x
Reference in New Issue
Block a user