mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
This is the result of automated script conversion: poky/scripts/contrib/convert-overrides.py meta-selinux Converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
27 lines
607 B
BlitzBasic
27 lines
607 B
BlitzBasic
SUMMARY = "SELinux autorelabel script"
|
|
DESCRIPTION = "\
|
|
Script to reset SELinux labels on the root file system when /.autorelabel \
|
|
file is present.\
|
|
"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
RDEPENDS:${PN} = " \
|
|
policycoreutils-setfiles \
|
|
"
|
|
|
|
SRC_URI = "file://${BPN}.sh \
|
|
file://${BPN}.service \
|
|
"
|
|
|
|
INITSCRIPT_PARAMS = "start 01 S ."
|
|
|
|
require selinux-initsh.inc
|
|
|
|
do_install:append() {
|
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
|
echo "# first boot relabelling" > ${D}/.autorelabel
|
|
fi
|
|
}
|