summaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-10-30afm-util: Fix report of errorJosé Bollo1-1/+1
The script afm-util wasn't reporting correctly errors. The use of the output status of afb-client-demo was possible but this solution is simplest to output the error message. Bug-AGL: SPEC-1863 Change-Id: I5ac919e615ed5c0f21589292e94a9c3d6209a83f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-28Update date of copyright noticesJosé Bollo2-2/+2
Change-Id: Ia4ef2a6e3c07616ccd756933a82f0806844c4faf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-28Add configuration variables for runtime socket dirsJosé Bollo3-4/+6
2 new configuration variables: - afm_platform_rundir (default /run/platform) Path to location of platform runtime sockets - afm_users_rundir (default /run/user) Path to location of users runtime sockets Change-Id: I65007fee1ca2ce6f1247a67ba0b121f97c08f209 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24afm-util: don't reload if afm-installJosé Bollo1-1/+3
Change-Id: I5c73d80ee2dd02a8d7260e8dcd5f52e8ef84b34b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24afm-util/install: use of web socket connectionJosé Bollo4-28/+4
Change-Id: I8bda689a377d676c4b190e1b54cdc115006c9829 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-02Executing /bin/bash explicitlyTadao Tanikawa1-1/+1
Although 'afm-util' uses PIPESTATUS[] to catch error from dbus-send, it doesn't require executing /bin/bash. Change-Id: I45b8a19b3dcdf789103472e16de64e0d50351548 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-07-24Add service debugging support (afm-debug).Sebastien Douheret2-0/+93
Add necessary tools/scripts, such as afm-debug, to allow service binding. These tools are only available in develvopment (AGL_DEVEL is set). Change-Id: I4e946146af985c74c8bd97d8c118b932394bbc5e Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh> Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-06afm-util: make output more readableJosé Bollo1-5/+13
Change-Id: Idfa35a60f3ee6268d2f08304e5ad2248777d2002 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-26afm-util: report correctly error status of dbus-sendJosé Bollo1-0/+1
Bug-AGL: SPEC-699 Change-Id: I8398f9dedefbe02a1ba57ed3725fa680a8db3cfa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-03afm-util: adds run-remote and start-remote commandsJosé Bollo1-0/+5
Change-Id: I2c94d072886f4dd004ea13f7bf0c1ce61b757ca8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-26Update date in headersJosé Bollo1-1/+1
Also update .gitignore Change-Id: I9d3e82c59318d983243ffce6d0a726ad5186fa2d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-14afm-user-daemon: Adds method "once"José Bollo1-0/+7
Adds the method "once" that is intended to start an application in local mode if it doesn't already run. Returns the state of the running application. Change-Id: I4dfff06fa2d3e95f13a2436a2f1af9174799ddcf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-08renaming of verbsJosé Bollo1-6/+6
The verbs 'stop' and 'continue' are now renamed as respectively 'pause' and 'resume'. Change-Id: I2f82105103884fc07f3c67e08c696e435aed28e1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-09cmake: handle build for SDKStephane Desneux1-1/+3
When building for SDK, only the wgtpkg tools should be built Change-Id: I2f935bae1b26d1d0e8b9513ade85703f8f49cf9d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-05-19afm-main-plugin: plugin for afbJosé Bollo1-1/+1
Change-Id: I39868b5c1076a995bbb10a984a2a0651579da30b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07afm-util: fix incorrect DBUS_SESSION_BUS_ADDRESS syntaxManuel Bachmann1-1/+2
The previous ":=" syntax would not work with "/bin/sh" or "/bin/bash". Make sure we export it, too. Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-03-15afm-util: install and pretty printingJosé Bollo2-5/+40
Change-Id: I00cadda36c71495c352cfee9bfd4540f5defc89e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-02afm-util: add the afm-util scriptJosé Bollo1-0/+106
Change-Id: I2331eaa956eb2bf81a5cfbb68c1cb2be8166a4ef Signed-off-by: José Bollo <jose.bollo@iot.bzh>