Merge pull request #1509 from fewtarius/dev

Continue to disable sleep on the OGU.
This commit is contained in:
fewtarius 2023-06-03 05:25:50 -04:00 committed by GitHub
commit dd84a002de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View file

@ -8,8 +8,10 @@
echo none > /sys/class/leds/blue\:/trigger
MYSLEEPMODE=$(get_setting system.suspendmode)
if [ -z "${MYSLEEPMODE}" ]
then
/usr/bin/setsuspendmode freeze
fi
### Sleep is currently broken, so we'll disable it.
cat <<EOF >/storage/.config/sleep.conf.d/sleep.conf
[Sleep]
AllowSuspend=no
SuspendState=freeze
EOF

View file

@ -3,7 +3,7 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="emulationstation"
PKG_VERSION="9b85d77"
PKG_VERSION="2670f58"
PKG_GIT_CLONE_BRANCH="main"
PKG_REV="1"
PKG_ARCH="any"
@ -81,6 +81,7 @@ pre_configure_target() {
if [ -f ~/developer_settings.conf ]; then
. ~/developer_settings.conf
fi
export DEVICE=$(echo ${DEVICE^^} | sed "s#-#_##g")
}
makeinstall_target() {