summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-core/systemd
AgeCommit message (Collapse)AuthorFilesLines
2018-12-14systemd: Refactor build using smack-system-setupJosé Bollo1-20/+0
This changes introduces the new recipe meta-security/recipes-core/smack-system-setup/smack-system-setup_1.bb The purpose is to split the recipe of systemd in two parts: - A part specific to systemd and only systemd It actually includes Smack patches for systemd and a renaming of udev-rules. - A part more oriented on putting the system in order to run with Smack activated. At the end, it will probably save many rebuilds as systemd recipe will evolve less in relation with the setup of the system. As example, the udev rule file "55-udev-smack-default.rules" that setup udev rules specific to smack is no more brought by systemd but by smack-system-setup. Also at the same time, some cleanup and refactoring is done. Note that the ".bbappend" file for systemd is now fixed in version and is including a common file file that records the several known versions. No cleanup was made on the versioned patch for the sake of memory. The cleanup of the history is to be achieved later... Bug-AGL: SPEC-2045 Change-Id: Iacf772142a381729dfdbe98d133a3effc4d6cf68 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-17systemd-udev: ensure convention for naming udev rulesJosé Bollo1-0/+20
The udev rules files installed in /etc/udev/rules.d should follow systemd naming convention. This patch ensures it by renaming known wrong files before to install it. This patch is temporary. This is a solution to the Bug-AGL SPEC-539. It renames the file udev-smack-default.rules as the file 55-smack-default.rules before installation in do_install. This comes from https://github.com/01org/meta-intel-iot-security.git (meta-security-smack/recipes-core/systemd/) It should be removed when the security layer will be refited to meta-security See git clone http://git.yoctoproject.org/cgit/cgit.cgi/meta-security It also renames the file touchscreen.rules as the file 55-touchscreen.rules This comes with the recipe systemd_230 of poky (meta/recipes-core/systemd) It should be removed when poky changes. Bug-AGL: SPEC-539 Change-Id: Ib65e75e67ddcd814d83771777d14b5d7754bd7d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10169 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>