sxmo_hook_apps.sh: fixed alacritty entry
version: also take un-annotated tags
use git attributes to set version in makefile
This adds configuration so that when "git archive" is run, it will
inject the current version into the makefile. This makes it so that we
don't have to do this manually, and packagers don't need to either.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
rework how we store VERSION
This drop the hardcoded VERSION, because it is so easy to forget while
releasing. This also fetch better edge tags.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
bumped version for next release (we forgot for 1.16)
sxmo_rtcwake.sh: refactorise to use sxmo_wakelock.sh run
sxmo_rtcwake.sh: make this script actually killeable
sxmo_rtcwake.sh: bring back wakelock management
A long time may have passed since sxmo_autosuspend.sh added
sxmo_waiting_cronjob. It means we probably still need to lock before unlocking
here.
sxmo_rtcwake.sh: remove waiting_cronjob lock
This lock may has been set by sxmo_suspend.sh.
block_suspend: fix eternel loop when mpc is not installed
The logic here has been reverted. We have to exit 1 if it isn't
installed.
wakelock.sh: remove tee error when using "lock infinite"
The code refactorisation feels a bit confusing. But looking at how this
method is implemented, this seems the easiest way.
sxmo_hook_block_suspend: block if mpc is updating db
sxmo_wakelock.sh: add a run mode to lock and unlock afterward a command
This also remove the automatic lock from the sxmo_rtcwake.sh script. The
user now have to use this cron line to do the same thing:
* * * * * sxmo_rtcwake.sh sxmo_wakelock.sh run sleep 10
This separate both behaviors, and allow more combinations.
sxmo_run_periodically.sh: let user choose the clockid
This relies on the previous patchset that implement sxmo_sleep. It
become possible for the user to write a simple daemon that trigger
a command periodically, and waking up the device.
sxmo_run_periodically.sh: rework argument parsing
sxmo_timer.sh: finish as soon as it get killed
Without this, the script will wait the full second before handling the
kill signal.
sxmo_timer.sh: stop at precise second
-ge means that we wait one additional second. Sleep 5s should actually
wait 5s, no more.