* making /var/log persistent
@ 2015-08-12 10:29 Jack Mitchell
2015-08-12 10:33 ` ChenQi
0 siblings, 1 reply; 2+ messages in thread
From: Jack Mitchell @ 2015-08-12 10:29 UTC (permalink / raw)
To: openembedded-core
I'm trying to make /var/log persistent and I'm having trouble. I've made a
bbappend to base_files which contains:
dirs755_append = " \
/var/log \
"
volatiles = "tmp"
Looking in the resulting image, /var/log is indeed now a directory and not a
symlink to volatile storage, however when the image is flashed to target and
booted it is reverted back to being a symlink; I assume by some init script?
Can anyone shed any light on what more is required to get a persistent log
directory.
Cheers,
Jack.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: making /var/log persistent
2015-08-12 10:29 making /var/log persistent Jack Mitchell
@ 2015-08-12 10:33 ` ChenQi
0 siblings, 0 replies; 2+ messages in thread
From: ChenQi @ 2015-08-12 10:33 UTC (permalink / raw)
To: Jack Mitchell, openembedded-core
On 08/12/2015 06:29 PM, Jack Mitchell wrote:
> I'm trying to make /var/log persistent and I'm having trouble. I've
> made a bbappend to base_files which contains:
>
> dirs755_append = " \
> /var/log \
> "
>
> volatiles = "tmp"
>
> Looking in the resulting image, /var/log is indeed now a directory and
> not a symlink to volatile storage, however when the image is flashed
> to target and booted it is reverted back to being a symlink; I assume
> by some init script?
>
> Can anyone shed any light on what more is required to get a persistent
> log directory.
>
> Cheers,
> Jack.
I sent out a series of patches regarding this area.
The patch title is "[OE-core] [PATCH 0/4] Support persistent /var/log".
Regards,
Chen Qi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-12 10:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12 10:29 making /var/log persistent Jack Mitchell
2015-08-12 10:33 ` ChenQi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox