]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: support persistent /var/log
authorChen Qi <Qi.Chen@windriver.com>
Wed, 16 Aug 2017 11:57:18 +0000 (19:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Aug 2017 09:04:31 +0000 (10:04 +0100)
commit6b22e247bf91f112401cad822cd7fe0b5621ffe0
tree3613a20d01a816a3303e15c82f8bb57cf9e26ace
parent50914c4a84e0fb6b9bf6bb1864a2d653218753ce
package.bbclass: support persistent /var/log

Add a new file, fs-perms-persistent-log.txt, which treats /var/log
as a directory instead of a link.

Modify package.bbclass to use this file if VOLATILE_LOG_DIR is set to boolean
false value.

[YOCTO #6132]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass
meta/files/fs-perms-persistent-log.txt [new file with mode: 0644]