[Buildroot] - Question: How to change safely /var/log --> /tmp in buildroot
Marko Stanisic
sankerspace at gmail.com
Thu Apr 8 14:39:27 UTC 2021
Thank you for the fast response,
is it possible to overwrite that behaviour by introducing an overlay
filesystem and
(1) create a "relative" symlink /var/log --> ../tmp/LOG", and
afterwards
(2) mount /tmp/LOG --> /mmcblk0p9
I already testet it manually on the board, but still not sure how to
implement (2) :
2.1) postimage.sh (which i use to create the images)
2.2) or as an init script in init.d
(3) take your solution and chnage behaviour in skeleton-init-sysv or
skeleton-init-openrc package
if that is possible
Thanks again for everyy support!!!
On 08/04/2021 16:32, Maxim Kochetkov wrote:
> Hi, Marko
>
> 08.04.2021 16:41, Marko Stanisic пишет:
>> Hello,
>>
>> I have no clue how the symlink /var/log --> ../tmp is statically
>> defined. (in buildroot)
>>
>
>
> This link is created by skeleton-init-sysv or skeleton-init-openrc
> package
>
More information about the buildroot
mailing list