aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/initscripts/initscripts_1.0.bbappend
blob: 630b9518f793849915609849f42d61f5a767e483 (plain)
1
2
3
4
5
6
7
8
PR .= ".2"

do_install_append () {
	cat <<-EOF >> ${D}${sysconfdir}/init.d/populate-volatile.sh
touch /var/log/lastlog
test ! -x /sbin/restorecon || /sbin/restorecon -R /var/volatile/
EOF
}