[OE-core] [PATCH V2 4/4] package.bbclass: support persistent /var/log

Patrick Ohly patrick.ohly at intel.com
Tue Dec 13 08:38:29 UTC 2016


On Tue, 2016-12-13 at 16:04 +0800, Chen Qi wrote:
> -            fs_perms_tables = 'files/fs-perms.txt'
> +            fs_perms_tables = ['files/fs-perms-persistent-log.txt',
> 'files/fs-perms.txt'][d.getVar('VOLATILE_LOG_DIR', True) == 'yes']

Now that the rest of the changes treat VOLATILE_LOG_DIR as a boolean,
this code here also needs to be changed. Otherwise VOLATILE_LOG_DIR=1 or
VOLATILE_LOG_DIR=y won't work correctly.

You might also want to change the description of the variable in the
first patch to mention those other values.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.






More information about the Openembedded-core mailing list