diff options
author | Lans Zhang <jia.zhang@windriver.com> | 2017-07-11 12:47:52 +0800 |
---|---|---|
committer | Lans Zhang <jia.zhang@windriver.com> | 2017-07-11 12:47:52 +0800 |
commit | 625c3c6b61d7119c2f0742d125af7a946f4cafbe (patch) | |
tree | 988b0713ecb4c1c6d7570ba98cdb77292bc3b2e8 | |
parent | 5d1376b6a023e011c1bfca8b7bb0f84c3480a26a (diff) | |
download | meta-secure-core-625c3c6b61d7119c2f0742d125af7a946f4cafbe.tar.gz |
base-file: mount securityfs
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
-rw-r--r-- | meta-integrity/recipes-core/base-files/base-files_%.bbappend | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-integrity/recipes-core/base-files/base-files_%.bbappend b/meta-integrity/recipes-core/base-files/base-files_%.bbappend index 06273e1..7e9e210 100644 --- a/meta-integrity/recipes-core/base-files/base-files_%.bbappend +++ b/meta-integrity/recipes-core/base-files/base-files_%.bbappend | |||
@@ -1,4 +1,5 @@ | |||
1 | # Append iversion option for auto types | 1 | # Append iversion option for auto types |
2 | do_install_append() { | 2 | do_install_append() { |
3 | sed -i 's/\s*auto\s*defaults/&,iversion/' "${D}${sysconfdir}/fstab" | 3 | sed -i 's/\s*auto\s*defaults/&,iversion/' "${D}${sysconfdir}/fstab" |
4 | echo 'securityfs /sys/kernel/security securityfs defaults 0 0' >> "${D}${sysconfdir}/fstab" | ||
4 | } | 5 | } |