Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ibcff5a513c4559c84ddfca1ef9449b1eff544006
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Regression introduced by commit:
c7db705 Generate afm-unit.conf using m4
Change-Id: Ibeeaf14b697e79cb2a95154b50b2ac775f93d529
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I51cbbad8ecdc371f457a008808c8c0f63501ac2b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The use of m4 to generate the afm-unit.conf and
afm-unit-debug.conf files has benefits:
- the sync between debug versus not debug is mechanical
- it allows easier maintainance by improving readability
and writability (ex: macros TARGET or UNIT_NAME_BASE)
Change-Id: Ic0427bedf4f8a5b174318562336603077f174fa5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2b446907b0c68b3bdb1c59227427e237f429ed8e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I40d73de059e955256d90ca7831870815c7d90481
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I50c2166ffab106988fa4ac1e68c14ea56c5b3145
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I117b8de2eec6cba9f475e18b794f90347bc184f8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Accessing systemd/system with DBUS from
a user not root make systemd use polkit.
It doesn't work for us because:
- at the end systemd crashes (sigsegv)
- we don't want polkit here
Change-Id: I206edd108b8b659c8c6a3a68f61500cb114995d4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Doesn't work after dropping capabilities!
Change-Id: I748a8de9bb04006c14cba09cc6c4469da06c1b5d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2fc3de0a84e471e8e87f43170c20f8d6d0d05fdc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1e3d2dc780a1449f2bfc894baa1f26a94be61cd8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1e6c0488b7183724a65fcc06fd3cf6909e0efd53
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I081e8a8f9ea344d47ae007a4d6c9e72663f82fcf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
When service name end with @ it means that the user
UID must be provided.
Change-Id: I6707df0151b7cab985cfc53a81fccf6a7150c9a3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Uses a more uniform naming for units and allows to use
templating for some other purpose.
Change-Id: Ia99f84a8f4436fcce6cecf3b3720870d27e9e303
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id26322a1a46baa8b53b6d3c214477ae50a7c99f6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Put it in the same place that other unconditionnal
options
Change-Id: I75fc5503db6fd9776299564b4a559a5bbf889952
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Latest version of the binder separated the verbosity levels
of WARNING and NOTICE. This commits asks for notice report
by default in debug.
Change-Id: Ibdaf16560384c7f2576066250e42c44074501ebb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The names are now prefixed by "afbd-" to clearly
identify the binder daemon.
Change-Id: I0dbd0a5dd68260a6315599e18e3e2f4a6be3efc5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also enforce output to journal
Change-Id: I85957cfb8cc7e2264c9146ca18c352a0af347934
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3174738bf4c164513bb6a0399584784548b22c2c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The default token is set to HELLO
Change-Id: I275c8d91633f4b6aa596c6195b90f1ad7c1b0cde
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The option --no-httpd is applied for applications of
type 'application/vnd.agl.service' but the option
was misplaced in the command line.
On an other hand, setting --no-httpd makes option
--roothttp irrevelant.
Also, the option is currently not to be applied
when AGL_DEVEL (pulling afm-unit-debug.in) is
required.
Change-Id: I05b15fa2a847a5564d7c88ce7ac47cd8a2a29f40
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Changes from
LD_LIBRARY_PATH=$ORIGIN/$LIB
to
LD_LIBRARY_PATH=$ORIGIN/lib
because $LIB isn't univoque for integrators
while lib is.
Change-Id: Ic4b2f8bb1410c35f75eb957a0ebc10141f995aba
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This patch removes references to /usr/local and
add reference to the installation directory.
The companion programs can be run using path
relatives to the installation directory.
Bug-AGL: SPEC-384
Change-Id: I7e10be1d0df1b62f3be0104f88d1787dd849d152
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Icb65d7165e1f1c0811f170effe148606bc367872
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
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>
|
|
Change-Id: Ifc2d1795041d0254af7db518f64c988bb747200c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic511bf717c61105003d750235229bfc50ee7fccd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic8e562dd31a9bf7e3f1e22f0cda8e381242e3468
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Some environment variable were set in the configuration files.
This wasn't a valuable solution. Allowing now system tning to
put environment variables in files of /etc/afm/unit.env.d
is much more flexible.
Change-Id: I1796061c9055a2860f0bbab340aa3a6e7b85dd3d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This commit introduces a common clear name for
services bound to websockets.
It also improves the formating of commands to
be run by afb-daemon.
It also removes an unsupported key (commented).
Change-Id: I4e6e74eef50b89ba82d2c33d4c94faab8f07b587
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This allows to simplify the configuration file
afm-unit.conf.
Restore the type application/vnd.agl.service
Change-Id: Iaadde2c2d96155cea6d1b8bee4d3c78e885cf44a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This commit remove urn:AGL:widget:provided-application
in favour of urn:AGL:widget:provided-unit.
In the same time, the feature urn:AGL:widget:provided-api
must be attached to a unit. This will enable to export
more than one API for a unit if needed.
Change-Id: I17ade3651db2cd61402875333d063ee05cf57a10
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Installation now creates unit files.
This commits use these created unit files
to fill the application database of
afm-user-daemon.
Change-Id: Ice39d3ff51b6afe41609f3ce4ff0e89b2f3a0ca7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This allows the automatic creation of the links in wants
subdirectories.
Change-Id: Ib948fb11abbbd902f733279136f51ad1649923ef
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie62113512094909bd02e7e89fd44b56a9df67d17
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I45d4ae48d47d8690f41222df4d05c04cd241ce37
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
I'm not sure that it will be still present at the end
but let go ahead with that.
Change-Id: I123035c29c049c780b71b4181c15bd2d3a96e7c7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia67df22859b23d9da614d619d84900654bb2f7a0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie327c0253ea12e8a0b837195653f0762b76c9f79
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
roothttp option (see commit dc011f99aed9407c8319b1b70a81f56ad2f02bc8) must be
set to a valid directory (for example . that's mean roodir) in order to serve
static files of html5 app.
Change-Id: I13a17f6699298a80a346dbb6b4c3ecb6ab236bd6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: jobol <jose.bollo@iot.bzh>
|
|
This is an intermediate commit providing
basic functionnalities for setting up
integration of the framework with systemd.
- file afm-unit.conf is a mustache template
- translation of config.xml to json object
- mustache (extended) application of the json to the template
- post processing of the result for extracting unit files
This processing is currently available as a test
(and a tool) and will be integrated after more
developement, test and validation.
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ieaa7b9f6f320610a56d020c9ac10fca313d892f9
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Change-Id: I1558ed87124750a87a4bf0359d9fb974617a8c42
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
It might be necessary to pass the address as an argument because
library systemd uses secure_getenv to retrieves the default
addresses and secure_getenv might return NULL in some cases.
Change-Id: Iea14a0494f39875f0a501e53a2711b0df96bab3c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
- Clean cmake files
- Fix orthograph and vocabulary
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The previous commit had CAP_DAC_OVERRIDE
instead of CAP_MAC_OVERRIDE.
Change-Id: I36988cd7771b6e25dbcf8d858ee3598bd12176b4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|