Re: [yocto] Recipe that creates empty /var/log directory is auto-mounted to /var/volatile/log

2016-05-09 Thread Fred Ollinger
f of Paul Knopf Sent: Monday, May 9, 2016 7:02 AM To: yocto@yoctoproject.org Subject: [yocto] Recipe that creates empty /var/log directory is auto-mounted to /var/volatile/log I have a simple recipe that places files on the system. - do_install() { # create this directory, becaus

Re: [yocto] Recipe that creates empty /var/log directory is auto-mounted to /var/volatile/log

2016-05-09 Thread Randle, William C
It happens in meta/recipes-core/initscripts. I don't know the history behind it, but the OE convention is to use /var/volatile, I believe mainly so that /var/volatile could be a RAMFS. -Bill On Mon, 2016-05-09 at 10:02 -0400, Paul Knopf wrote: I have a simple recipe that places files on the

[yocto] Recipe that creates empty /var/log directory is auto-mounted to /var/volatile/log

2016-05-09 Thread Paul Knopf
I have a simple recipe that places files on the system. - do_install() { # create this directory, because our "normal" fstab file will mount a log partition to it. install -d ${D}/var/log install -d ${D}${sysconfdir} install -m 0644 ${WORKDIR}/fstab-normal ${D}${sysconfdir}/fst