Use relative path for the background picture in the grub theme
The absolute path was breaking grub on systems with btrfs subvolumes.
This commit is contained in:
parent
b612cdabd7
commit
de1fc479c9
2
debian/kali-themes.postinst
vendored
2
debian/kali-themes.postinst
vendored
@ -51,8 +51,6 @@ if [ "$1" = "configure" ]; then
|
||||
# Copy grub theme to /boot
|
||||
mkdir -p /boot/grub/themes/kali
|
||||
cp -r /usr/share/grub/themes/kali/* /boot/grub/themes/kali/
|
||||
sed -i -e 's|/usr/share/grub/themes/|/boot/grub/themes/|g' \
|
||||
/boot/grub/themes/kali/theme.txt
|
||||
# Rebuild the grub configuration with our config changes
|
||||
if which update-grub >/dev/null; then
|
||||
update-grub || true
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
|
||||
# Global Property
|
||||
title-text: ""
|
||||
desktop-image: "/usr/share/grub/themes/kali/grub-16x9.png"
|
||||
desktop-image: "grub-16x9.png"
|
||||
desktop-color: "#2f5595"
|
||||
terminal-font: "Unifont Regular 16"
|
||||
terminal-left: "0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user