Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Icb65d7165e1f1c0811f170effe148606bc367872
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
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>
|
|
Change-Id: I1b0a1628b42097c47a844aa0c8030d4534428421
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>
|
|
Listing processes that are terminated
might be disturbing. So it is now removed.
In some future, it should be good to return on
option even terminated processes with an indication
of their termination status.
Bug-AGL: SPEC-728
Change-Id: I89bff7f880e6a5717c1572e3ee80cfe7dec8e594
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This patch allows a widget to not specify any icon
but it still enforce when an icon is specified to
specify only one icon and to provide the attribute
"src".
Bug-AGL: SPEC-702
Change-Id: Ieeb17e4de8885a3a525b35ae365e51b421d39f83
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I919c3e6d34c74688162a0b0806a6397fb7601a76
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Bug-AGL: SPEC-734
Change-Id: Ifc2d1795041d0254af7db518f64c988bb747200c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Check any existing X-AFM-http-port or
X-AFM--http-port.
Change-Id: I1111095664535c849c76870f2e5104fb07099ab4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The use of %m was buggy due to the implementation
of 'vverbose': it always returned ENOTTY
Inappropriate ioctl for device
Change-Id: I0b7dd4c2f4ce5a45611042a8b9ba3e6db0e60803
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The new version ensures that the daemons are responsibles
of reloading the units. This is no more done by default.
Change-Id: I9ff33a628dfc05e429dbc7bf127d641691f2a3b9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Bug-AGL: SPEC-699
Change-Id: I8398f9dedefbe02a1ba57ed3725fa680a8db3cfa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I9672e7b25dae2d2b73f6f2e67ae56adb583b6da9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
When installing or deinstalling, it is needed to
issue a "systemctl (--user) restart sockets.target"
This patch implement it on user side.
To be improved.
Change-Id: I152eb6a1cf5df50b1fe3143837d6d42ee6619349
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ica099aa439e6c022de4982a58b0990065d932b0b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic511bf717c61105003d750235229bfc50ee7fccd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I8a623a40e48108c8999083667dae1230da2d206f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7d997b9a8c17caa83e0e9c4f4611e0aac04be6b4
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
|
|
Change-Id: Ib98fae58d8a95dceea42347a5e46d6d39d565852
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Change-Id: I8203040b759289b08d5311a74e6df557fe8250bd
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I1ed6c95a906c086a010b302eca6a48c2a3ac3eef
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Change-Id: I60b5ab02602b993d8d92504b25f0a35d340d5444
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I01c6342fa9f6b16753ed5f48645538e48af09a5a
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I44cf2054fa06816480e26fc19b45c6f8a464a708
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I5d63279149c46e095afeec97bfad3c61e40fedee
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
To generate PDF doc:
./gendocs.sh pdf
To generate HTML doc (local webserver):
./gendocs.sh serve
Change-Id: Ib9b195814f4596a5cf5233d6a331d206e76c9bae
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: Ic2cb29cb96e6542405736628f2d0cce995cb21ce
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Change-Id: Ic8e562dd31a9bf7e3f1e22f0cda8e381242e3468
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I98e6de97e170b8cbb51b48e0e3cf7e52e6def7f9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I16139c133d7031e38f4c63ff6369f1d7478fc86f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I4060334cb9c677df1ce86c99a1cb37abc007f3c7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Nothing was telling that the content couldn't be
set as executable. Note that nothing is made to check
that a content (executable or not) exist.
Also note that installing several executables for
one widget isn't possible now.
Change-Id: I10373fa27cd8d1d90c292e3529d8a5eec62bb8f0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia95dae65e74a42f9f49154c9421391421f9ca1c0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7d9812211bb75f34d55b4035d5b4a3b7ea66f461
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7258a494d62ef22219c973048d052965cb5fea28
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>
|
|
Inactive is returned sometimes but it means that
the service is not started yet not that it failed
to start.
AGL-Issue: SPEC-520
Change-Id: I3b39b983b45a0f6ee449958100595c5c486cbfdd
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>
|
|
The installer now chooses a port for an installed application.
This choose is made by consulting the previously installed
applications and by getting the lowest port available in the
range 1024..32767.
Change-Id: Iab4238b4d52447a2d261d87d45bbb02f0b7a35e5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This implementation is very basic and
must be improved.
Change-Id: Id1540e646c83285c61849092bbd8fb645c0954ed
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This fixes a problem with bitbake when building
native packages.
Change-Id: I28586720010237db578ec55cb5254212c88240e7
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 enumeration is based on the filesystem,
units are listed from the configured directory.
This is necessarily because not all units can be
loaded by systemd but all can be started.
Change-Id: Ic4d1331c8c54f5bbaa747ff8084da2b0c5a65c55
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Opening one connection per part of the
program doesn't make sense and waste resources.
Using a common one is much better.
Change-Id: I74dc3cd7ae41d7bfa2f03f4a252495e8f5f81578
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id0a9581032add095756141a4373b34cee3cd6f80
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The current implementation enforce the reload
when a 'wants' target is created or deleted.
This should work well for system units.
However, for system units, this behaviour isn't
enought when more that a user is active because
only the user that installs the application will
be updated. For this reason, a paralelle mechanism
has to be defined.
Also note that systemd is henceforth required for
tools because wgtpkg-installer needs it now.
Change-Id: I4fc03a44dbc58c2374ea21dbf6b436f646d04e00
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Isolate the interface to systemd.
Change-Id: I03ea654da9fab2df0e6eec980b0e5623487d1b73
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|