blob: 6e8a9b6ef77098f2ed356e06cb5c99364ff1f0ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
EOF
sed -i '/mount -n -o remount,$rootmode/i\test ! -x /sbin/restorecon || /sbin/restorecon -iRF /run' \
${D}${sysconfdir}/init.d/checkroot.sh
}
|