The INT signal won't kill the python process if called before the
script has had time to register the signal handler. Avoid this case
by using the USR1 signal, which will terminate the process under the
same conditions.
Unfortunately, terminating the process will lead to unwanted terminal
output - "User defined signal 1" - due to bash job control monitoring.
Solve this by adding a wait command that redirects the process output
to /dev/null.
Additionally, register joy2key's signal handler for INT and TERM cases
so that it will gracefully exit in all possible cases.
Use different source versions for jessie/stretch, and automatically
bump package version with rpiX and os codename appended.
ex:
* 1.2.15-10 will bump to 1.2.15-11~rpi1~jessie
* 1.2.15+dfsg1-4 will bump to 1.2.15+dfsg1-5~rpi1~stretch
* flag is set in module, and file RP-NEWBRCMLIBS is created in "$md_inst" on install (not on binary install,
but updated binaries will include the file when created)
* runcommand checks for the file, and if it doesn't exist, switches SDL to use the old library names.
this will allow us to add the flag for new modules so we have compatibility during the switcher. the
flag / logic from runcommand can be removed in the future
* make sure the hooks and add_system/del_system of es are called from emulationstation-dev
* don't allow both modules installed at once - but don't remove configs when switching.
* fix up retropie.svg install path when called from emulationstation-dev
* added enable/disable functions for commandline use
* show current service status in gui
* swap Enable/Disable in the menu for consistency
* re-display menu after choosing an option
* no need for function to check/build called from gui_xarcade2jstick
* added remove function to uninstall service on removal
* cd to $md_inst before calling make installservice/uninstallservice
When a system's default emulator is not yet selected, the automatic invocation of choose_emulator function can be erratic (most notably with the joy2key process exiting prematurely). Avoid this issue by disabling the cancel button when invoked in this way.
* update usbromservice scripts on retropie-setup upgrade
* move to main packages rather than config, as it requires the usbmount and this makes it easier to add/remove. previously it
would be installed when choosing the usbromservice from config, even if you didn't want to use it.
* Remove obsolete information that driver breaks Bluetooth and replace
with warning that Bluetooth pairing works in RetroPie menu, but cannot
be guaranteed elsewhere.
* Add notice after exiting Bluetooth menu (only when sixad is running)
informing users to re-pair controller, to hopefully reduce confusion.