From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marko Stanisic Date: Thu, 8 Apr 2021 16:39:27 +0200 Subject: [Buildroot] - Question: How to change safely /var/log --> /tmp in buildroot In-Reply-To: References: Message-ID: <02af48b6-e128-6b75-5f38-220ff4b6ed67@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 >