systemd: Refactor build using smack-system-setup 23/18823/4
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 12 Dec 2018 11:03:43 +0000 (12:03 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 14 Dec 2018 19:32:40 +0000 (19:32 +0000)
commitf11a3e7653777ad4342e615f47ec4a5417a2fa96
tree3358a5e21ef0f36a4e59dc0a189d19bb1bfd9167
parent629062a55c41e8993761edf4a2a44400b72a6b91
systemd: Refactor build using smack-system-setup

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>
meta-agl-profile-core/recipes-core/systemd/systemd_234.bbappend [deleted file]
meta-app-framework/recipes-core/systemd/systemd_%.bbappend [deleted file]
meta-app-framework/recipes-platform/packagegroups/packagegroup-agl-core-security.bbappend
meta-security/recipes-core/packagegroups/packagegroup-security-framework.bb
meta-security/recipes-core/smack-system-setup/files/55-udev-smack-default.rules [moved from meta-security/recipes-core/systemd/systemd/udev-smack-default.rules with 100% similarity]
meta-security/recipes-core/smack-system-setup/files/systemd-journald.service.conf [new file with mode: 0644]
meta-security/recipes-core/smack-system-setup/files/systemd-tmpfiles-setup.service.conf [new file with mode: 0644]
meta-security/recipes-core/smack-system-setup/files/tmp.mount.conf [new file with mode: 0644]
meta-security/recipes-core/smack-system-setup/smack-system-setup_1.bb [new file with mode: 0644]
meta-security/recipes-core/systemd/systemd/0001-Switch-Smack-label-earlier.patch [moved from meta-agl-profile-core/recipes-core/systemd/systemd/0001-Switch-Smack-label-earlier.patch with 100% similarity]
meta-security/recipes-core/systemd/systemd_234.bbappend [moved from meta-security/recipes-core/systemd/systemd_%.bbappend with 53% similarity]