diff --git a/.ci/after_success.sh b/.ci/after_success.sh index 763084af1..e655228ba 100755 --- a/.ci/after_success.sh +++ b/.ci/after_success.sh @@ -31,7 +31,7 @@ if [ ${TRAVIS_PULL_REQUEST} = false ] && [ ${TRAVIS_BRANCH} = 'master' ]; then cp -r doc/html/* koreader_doc/ pushd koreader_doc - git add . + git add -A echo -e "\n${ANSI_GREEN}Pusing document update..." git -c user.name="KOReader build bot" -c user.email="non-reply@koreader.rocks" \ commit -a --amend -m 'Automated documentation build from travis-ci.' diff --git a/frontend/device/kobo/device.lua b/frontend/device/kobo/device.lua index 39aa1b424..c677227e8 100644 --- a/frontend/device/kobo/device.lua +++ b/frontend/device/kobo/device.lua @@ -143,6 +143,7 @@ end function Kobo:resume() os.execute("echo 0 > /sys/power/state-extended") + -- HACK: wait a bit for the kernel to catch up os.execute("sleep 0.1") -- cf. #1862, I can reliably break IR touch input on resume... if os.getenv("FROM_NICKEL") == "true" then