summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2018-10-29Install afm-user-daemon with correct rightsJose Bollo1-1/+3
Install afm-user-daemon with rwx-r-xr-x instead of --x--x--x as before. Bug-AGL: SPEC-1846 Change-Id: Ie48d379f5f4cfe8ddf3192ebee85580b05e35b36 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-04-05CMakeLists: Fix library directoriesjobol1-1/+7
Change-Id: Id9c86eb2385224d657ac69e1b7b5acd07bf6d71d Signed-off-by: jobol <jose.bollo@iot.bzh>
2018-02-28afm-user-session: Start target from user sessionJosé Bollo1-1/+1
Start the afm-user-session@%i.target from the user session after pam_sytemd session started. Change-Id: I5aeb8f01426b3cee2cbfad6ba30ecf37fe21abca Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-28Update date of copyright noticesJosé Bollo1-1/+1
Change-Id: Ia4ef2a6e3c07616ccd756933a82f0806844c4faf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-01-22afm-user-session: Create afm-user-sessionJosé Bollo1-0/+3
This new executable is the simplest user session manager: it waits the signal SIGTERM to stop and thus release the session. Change-Id: I557f27386c19ca3e2b28b21dd6a58918e9ca47be Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24Restore compilation of native-sdkJosé Bollo1-5/+10
Change-Id: I3855854407ad47c2b9a2288b8425513de5ae94d3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24Remove afm-system-daemonJosé Bollo1-31/+26
Change-Id: I1e6c0488b7183724a65fcc06fd3cf6909e0efd53 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24afm-user-daemon: rewriten to use direct APIJosé Bollo1-2/+2
The coming version of afm-system-daemon will no more use DBUS but will provide a websocket API. Change-Id: I5ff0488ff5ec5b2b9a193d869efe8a9c5896516f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24afm-binding: provide afm as a unique bindingJosé Bollo1-46/+37
This is the first stone (not fully tested) to implment the afm-main as a binding. At the end, this component will replace afm-user-daemon and afm-system-daemon. Change-Id: I6eafa7d26800f45ae58dd51aa9ff8008cdb3ff59 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-19Remove legacy mode without systemdJosé Bollo1-4/+0
Change-Id: Id26322a1a46baa8b53b6d3c214477ae50a7c99f6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05Upgrade to afb-daemon (binder) version 4.0 at leastJosé Bollo1-1/+1
Change-Id: I6d2a6e7e2781f0b2b3471f698912990961d84865 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-17utils-systemd: implement start/stop of unitsx-first-with-systemdJosé Bollo1-0/+1
This implementation is very basic and must be improved. Change-Id: Id1540e646c83285c61849092bbd8fb645c0954ed Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-17Allows to compile without libsystemdJosé Bollo1-34/+47
This fixes a problem with bitbake when building native packages. Change-Id: I28586720010237db578ec55cb5254212c88240e7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-17Switch to use systemd databaseJosé Bollo1-0/+1
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>
2017-03-17Emits reload to systemd when neededJosé Bollo1-55/+41
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>
2017-03-17utils-systemd: introduction of systemd interfaceJosé Bollo1-0/+1
Isolate the interface to systemd. Change-Id: I03ea654da9fab2df0e6eec980b0e5623487d1b73 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-14switch to cmake 3.4.3 at leastJosé Bollo1-6/+2
Change-Id: Ib63bd000abaabd4966519b75356668d31aed58f9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-14improve names in CMakeListsJosé Bollo1-11/+11
Change-Id: If86544db50c5813868550338a68c0e11ea469a35 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-26Prepare the Integration with systemdJosé Bollo1-0/+10
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>
2017-01-26Add utils-file and provide json-cJosé Bollo1-3/+4
This is an intermediate commit providing new features for common utils. Change-Id: Ide92167d8e4e5013ddadd718c02071ea837938e3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-09Put strings in one placeJosé Bollo1-0/+1
Change-Id: I79afd4fa18996e7879db4c11480a5400637dad2d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-03Adds 2017 to copyrightsJosé Bollo1-1/+1
Change-Id: I3fcd64a038c6c5bca3d70186e2e68604aa392ed4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-28update dates of headersJosé Bollo1-1/+1
Change-Id: Ie82326a91ff61f079421239ffa83428f552194ab Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-20build: improve simulation of securityJosé Bollo1-4/+15
This commits allows to simulates either the security-manager and the smack LSM. These simulations are used for developping purpose. Change-Id: I138d7351511ca2663498bfacca28811fc81b8c55 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-18Minor improvementsJosé Bollo1-1/+1
- Clean cmake files - Fix orthograph and vocabulary Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-07-09cmake: handle build for SDKStephane Desneux1-48/+60
When building for SDK, only the wgtpkg tools should be built Change-Id: I2f935bae1b26d1d0e8b9513ade85703f8f49cf9d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-24vocabulary: moving from 'plugin' to 'binding'José Bollo1-13/+13
Change-Id: I89b7c0adc93ec6f9b97ee168b4a12651c72009ab Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19backport to cmake 3.3José Bollo1-4/+10
Change-Id: I3c5c0670da70e2ed6adf425bf645bc2266e96308 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19afm-main-plugin: plugin for afbJosé Bollo1-41/+68
Change-Id: I39868b5c1076a995bbb10a984a2a0651579da30b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11upgrade to use systemdJosé Bollo1-1/+1
Change-Id: Ic07116882d572af7e9b4618e2cf1fce55b997453 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-21utils-jbus: adding commentsJosé Bollo1-0/+1
Also add a line in TODO list, minor refactoring, insert a remider about NDEBUG. Change-Id: I3d80dad7b6903df70c0fca2ef7256c158ecb3355 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-16cmake: improves error detectionJosé Bollo1-3/+6
Add detection of problem of cast. The problems are corrected in the patch. Change-Id: I8dc1e987531790860e390dea53ddf49d52339cb2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-13afm-user-daemon: prepare to launch with modeJosé Bollo1-0/+1
Change-Id: I0372eab2496c2fdb12144d68c0f041f5f1fd360e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04Adding uninstallation of widgetsJosé Bollo1-0/+1
Change-Id: I8558a77312590181de5313c89ea4c9bdb9b477c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04Adding utils-jsonJosé Bollo1-1/+3
This provides facilities for handling json. Change-Id: I325d5685ded745721a1801267b9c53beb974385c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04afm-user-daemon: adds verbose infoJosé Bollo1-1/+1
Change-Id: I9195b2b10124b573be90ed4b754f7fe0ae5595ac Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-04wgtpkg-zip: use PATH for retriving programsJosé Bollo1-3/+1
When using yocto, the directive 'find_program' of cmake returns a path that matches the host path when builing, not the path of the file on the target. Using the standard algorithm for seeking programs using PATH should solve the problem. Change-Id: I426a88fe044a1d1b3a72124da17ca8a188caad9c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2015-12-29manages simulation of security-managerJosé Bollo1-1/+8
Change-Id: Ia465bab3ae99e95daa7afd5bd22a98bea1bfef17
2015-12-23zip/unzip: don't only rely on libzipJosé Bollo1-1/+12
Change-Id: I2bd2cf0c9447a47fdb56661c15e852e52e9dcba7
2015-12-22refactoring and moving forwardJosé Bollo1-7/+9
Rename af-... files to afm-... Add system daemon draft Change-Id: I3f8b69ac9cc5af54be34b4ad11a512c57c0230b6
2015-12-22Renaming afm-main-daemon to afm-user-daemonJosé Bollo1-3/+3
Change-Id: I3370c79c8ce9a7f6366511e808a81b1c1bbb6519
2015-12-21RenamingsJosé Bollo1-3/+3
Change-Id: I747d8f6d92b4fcb045439c1ed7b84d0e3d234937
2015-12-21Improves the packaging, adds commentsJosé Bollo1-0/+2
Change-Id: Ib9eb3bf010814ea043e838f2e97a692ecd12514b
2015-12-18fix directories and optionsJosé Bollo1-5/+5
Change-Id: I83c0a65248faaecf8a1b2270003bd0cbd519794a
2015-12-18moving to cmakeJosé Bollo1-0/+105
Change-Id: Ic1c7ce208f88c707435cce0ec0e658974315d3d1