diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2023-09-22 10:22:34 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2023-10-12 10:14:19 -0400 |
commit | 46ec0414b4dff45de7c44a11ae4cc275982eca6f (patch) | |
tree | 31f02be6a26179962e2db06bd73da7b7c31fd9a2 /recipes-security/selinux/selinux-python | |
parent | ce049565e1dc84f8ae323ec33ce5632f727900a4 (diff) | |
download | meta-selinux-46ec0414b4dff45de7c44a11ae4cc275982eca6f.tar.gz |
selinux-image.bbclass: refactor bbclass
The selinux_set_labels function should run as late as possible. To
guarantee that, we append it to IMAGE_PREPROCESS_COMMAND in
RecipePreFinalise event handler, this ensures it is the last function in
IMAGE_PREPROCESS_COMMAND.
After refactoring, system using systemd can also label selinux contexts
during build.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/selinux/selinux-python')
0 files changed, 0 insertions, 0 deletions