mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
alarm/kodi-rpi-legacy: tweak post_install message
This commit is contained in:
parent
c7abfc1bc2
commit
ac89ca4c9c
1 changed files with 18 additions and 7 deletions
|
@ -1,9 +1,16 @@
|
|||
_message() {
|
||||
echo "-> Remove any tweaks made to /boot/config.txt now!"
|
||||
echo "-> This includes lines such as gpu_mem=..."
|
||||
echo "-> Add the following to /boot/config.txt or else kodi will not work."
|
||||
echo " [all]"
|
||||
echo " include kodi.config.txt"
|
||||
cat <<END
|
||||
|
||||
>>> Remove any manual tweaks made to /boot/config.txt particulary a line such
|
||||
as gpu_mem=xxx. Driver setup for Kodi is stored in /boot/kodi.config.txt
|
||||
|
||||
Manually append the following to /boot/config.txt to make them active:
|
||||
[all]
|
||||
include kodi.config.txt
|
||||
|
||||
A reboot will be required to activate them if this is a fresh install.
|
||||
|
||||
END
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
@ -19,8 +26,12 @@ post_upgrade() {
|
|||
post_install
|
||||
# version 19.0-7 moves kodi.service to user.slice so warn users about data loss
|
||||
if (($(vercmp 19.0-7 $2) > 0)); then
|
||||
echo "-> kodi.service now runs in systemd's user.slice, see man kodi.service for"
|
||||
echo "-> important info on how to reboot or shutdown the system to avoid data loss!"
|
||||
cat <<END
|
||||
|
||||
>>> kodi.service now runs in systemd's user.slice, see man kodi.service for
|
||||
important info on how to reboot or shutdown the system to avoid data loss!
|
||||
|
||||
END
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue