[OE-core] [PATCH 0/4] Support persistent /var/log

ChenQi Qi.Chen at windriver.com
Thu May 28 06:05:06 UTC 2015


On 05/28/2015 12:55 PM, Khem Raj wrote:
> On Tue, May 26, 2015 at 2:15 AM, Paul Eggleton
> <paul.eggleton at linux.intel.com> wrote:
>> Randy, Khem, Otavio - this area was the subject of a discussion involving you
>> around the 1.8 release, if you could review this set and comment that would be
>> great.
>
> Looked at it but it didnt sound like it considered read only rootfs case at all.


read-only rootfs and persistent /var/log are all custom configurations.
If a user wants a read-only rootfs but a persistent /var/log, he'll need 
to do more custom configurations like putting /var/ on a seperate 
partition or something else.

The purpose of this patch is to provide an easy way to user to keep 
their logs between reboots.

//Chen Qi

>> Thanks,
>> Paul
>>
>> On Tuesday 26 May 2015 13:43:58 ChenQi wrote:
>>> ping ....
>>>
>>> *ANY* comment would be welcome, really ...
>>>
>>> Thanks,
>>> Chen Qi
>>>
>>> On 03/24/2015 04:42 PM, Chen Qi wrote:
>>>> The following changes since commit
>> d3fcfe346b3472170641d9194243c4bbe06b8585:
>>>>     systemd: fix firmware path to match linux-firmware (2015-03-23 11:27:13
>>>>     +0000)>
>>>> are available in the git repository at:
>>>>     git://git.openembedded.org/openembedded-core-contrib
>>>>     ChenQi/persistent-var-log
>>>>     http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h
>>>>     =ChenQi/persistent-var-log>
>>>> Chen Qi (4):
>>>>     bitbake.conf: add VOLATILE_LOG_DIR variable
>>>>     base-files: respect VOLATILE_LOG_DIR
>>>>     initscripts: support persistent /var/log
>>>>     package.bbclass: support persistent /var/log
>>>>
>>>>    meta/classes/package.bbclass                       |  2 +-
>>>>    meta/conf/bitbake.conf                             |  4 ++
>>>>    meta/files/fs-perms-persistent-log.txt             | 66
>>>>    ++++++++++++++++++++++
>>>>    meta/recipes-core/base-files/base-files_3.0.14.bb  |  4 +-
>>>>    .../initscripts/initscripts-1.0/volatiles          |  1 -
>>>>    meta/recipes-core/initscripts/initscripts_1.0.bb   |  3 +
>>>>    6 files changed, 76 insertions(+), 4 deletions(-)
>>>>    create mode 100644 meta/files/fs-perms-persistent-log.txt
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre
>




More information about the Openembedded-core mailing list