Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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: Ia3cdcb76a9f7b3bda77a9d9fcb38dfd85eb85804
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ib147de12d0b2c8e783ddb6aae2f9978f288d98fd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie62113512094909bd02e7e89fd44b56a9df67d17
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The current version of security manager put this tags
- SECURITY_MANAGER_PATH_PRIVATE
- SECURITY_MANAGER_PATH_RW
User::App::XXXX
- SECURITY_MANAGER_PATH_PUBLIC
- SECURITY_MANAGER_PATH_RO
User::Home
- SECURITY_MANAGER_PATH_PUBLIC_RO
_ (underscore or floor)
Putting floor is bad because it produces
files and directories that can't be removed.
Using SECURITY_MANAGER_PATH_RO instead of
SECURITY_MANAGER_PATH_PUBLIC_RO sets the
label "User::Home". It is valid because this
label is already read only for applications.
But it is writable by the "System" labelled
services at the opposite of "_".
Change-Id: I685fe366fddb95858c66b827e28acf6d005bcfc0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic23bcc031fdc72e15675bffcbac619ef41a2f241
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3e354cb9e940798a995e79fe67d05607130c9714
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I45d4ae48d47d8690f41222df4d05c04cd241ce37
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I543995c8bb64a859a7c0eb6cc09217d2f71ccc38
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I7da9ee72992cba4c49c0d1286a38674d3f7ed4bc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ib63bd000abaabd4966519b75356668d31aed58f9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If86544db50c5813868550338a68c0e11ea469a35
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2c94d072886f4dd004ea13f7bf0c1ce61b757ca8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ibaed600a85ce1b7c3e445ceb39c780e99ca61062
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: I2c3f9f0b45b79d5baa9ad5c19876f1412456c19d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Icbbdbd4ed51db62c7619c6210842411b8d2e04a4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
occured if closing before opening
Change-Id: I9c9515535d83f2c13bb75c0638e12c0a5a333413
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie327c0253ea12e8a0b837195653f0762b76c9f79
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ib2e1c75f81c32d0b6bc50af2ba48bb95a413842a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This is an incomplete fix. More readdir calls
exists that should be treated.
Change-Id: Ib80c9f4ac8fe7ce02d22968a9cf37f7841514f57
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This is an incomplete fix. More readdir calls
exists that should be treated.
Change-Id: Ic9ed98c7695a7c3d15136d0fe5eb9b5634f74d09
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>
|
|
Change-Id: I9040f9fb6a8875a7e0e5bab08ce23db5557ef433
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I901ff5bb6f22ba7076914c7cbe92f69b4b89cb0e
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I353ae1cc33795ba8ffd98fcec503125ec9d455a3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: jobol <jose.bollo@iot.bzh>
|
|
The name binding is related to an internal
concept of the binder. The term API is more
generic. Dont forget that an API can be provided
by more than one binding (but only one at a given
time).
Change-Id: I91b2f3d96de6aace5fcb434cf64df7e8ed61630f
Signed-off-by: José Bollo <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>
|
|
The function 'move_widget' was the only one
that worried about the name of the installation
directory. This commit split the function in two
and enforce to get the name of the install
directory.
Change-Id: I6d89b4c94b2898a6ba95a3045b3f5db23d54c499
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ica1cf7d81b561ce34039e5212ed6578950f1bfdd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This is an intermediate commit providing
new features for common utils.
Change-Id: Ide92167d8e4e5013ddadd718c02071ea837938e3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I8b9b91accc0e30726e3be7f287b8312b0d7f3d02
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also update .gitignore
Change-Id: I9d3e82c59318d983243ffce6d0a726ad5186fa2d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I79afd4fa18996e7879db4c11480a5400637dad2d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This improvement should make log message more clear.
Change-Id: Ifc78f7d913a1798a43b54df6b2bf9b52232d328a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I55bd335f1a731e3a02fdb598c8bd869686269aab
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|