diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2014-04-23 03:42:05 -0400 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2014-04-24 19:53:41 -0400 |
commit | 5596ca6e0e779c3b766ad109694f27b9e300eda8 (patch) | |
tree | 84908c9b366ad4750095d2844db81c6fde1e6422 | |
parent | 29f56934d456681ab454b2c32827d1a229930609 (diff) | |
download | meta-selinux-5596ca6e0e779c3b766ad109694f27b9e300eda8.tar.gz |
initscripts: always force to restore file contexts for /var/lib
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r-- | recipes-core/initscripts/initscripts_1.0.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/initscripts/initscripts_1.0.bbappend b/recipes-core/initscripts/initscripts_1.0.bbappend index b8172c0..7ec66ea 100644 --- a/recipes-core/initscripts/initscripts_1.0.bbappend +++ b/recipes-core/initscripts/initscripts_1.0.bbappend | |||
@@ -3,6 +3,6 @@ PR .= ".3" | |||
3 | do_install_append () { | 3 | do_install_append () { |
4 | cat <<-EOF >> ${D}${sysconfdir}/init.d/populate-volatile.sh | 4 | cat <<-EOF >> ${D}${sysconfdir}/init.d/populate-volatile.sh |
5 | touch /var/log/lastlog | 5 | touch /var/log/lastlog |
6 | test ! -x /sbin/restorecon || /sbin/restorecon -RF /var/volatile/ /run | 6 | test ! -x /sbin/restorecon || /sbin/restorecon -RF /var/volatile/ /var/lib /run |
7 | EOF | 7 | EOF |
8 | } | 8 | } |