mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 06:56:19 +00:00
17 lines
533 B
Makefile
17 lines
533 B
Makefile
PKG_NAME="rpi_disable_hdmi_service"
|
|
PKG_VERSION="1.0"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://www.lakka.tv"
|
|
PKG_DEPENDS_TARGET="systemd"
|
|
PKG_LONGDESC="Package to install a service"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
post_install() {
|
|
if [ "${PROJECT}" = "RPi" ] && [ "${DEVICE}" = "GPICase" -o "${DEVICE}" = "Pi02GPi" ]; then
|
|
# In case of "${DEVICE}" = "RPiZero2-GPiCASE2W"
|
|
# HDMI is disabled by KMS(vc4-kms-v3d) in distroconfig.txt.
|
|
# Therefore, it doesn't use "disable-hdmi.service".
|
|
enable_service disable-hdmi.service
|
|
fi
|
|
}
|