blob: 367cd6b84439369416aad8cc0caf9f9ba2379df2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
PR .= ".3"
do_install_append () {
cat <<-EOF >> ${D}${sysconfdir}/init.d/populate-volatile.sh
touch /var/log/lastlog
test ! -x /sbin/restorecon || /sbin/restorecon -RF /var/volatile/ /var/lib /run
EOF
sed -i '/mount -n -o remount,$rootmode/i\test ! -x /sbin/restorecon || /sbin/restorecon -RF /run' \
${D}${sysconfdir}/init.d/checkroot.sh
}
|