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>
12 lines
465 B
PHP
12 lines
465 B
PHP
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
do_install:append () {
|
|
cat <<-EOF >> ${D}${sysconfdir}/init.d/populate-volatile.sh
|
|
touch /var/log/lastlog
|
|
test ! -x /sbin/restorecon || /sbin/restorecon -iRF /var/volatile/ /var/lib /run \
|
|
/etc/resolv.conf /etc/adjtime /tmp /var/tmp /var/log /var/lock /var/run
|
|
EOF
|
|
sed -i '/mount -n -o remount,$rootmode/i\test ! -x /sbin/restorecon || /sbin/restorecon -iRF /run' \
|
|
${D}${sysconfdir}/init.d/checkroot.sh
|
|
}
|