[OE-core] Redefine variable in bbappend

Yevhen Kyriukha kirgene at gmail.com
Fri May 17 00:08:11 UTC 2013


Hi!

I'm using "base-files" recipe but I don't want that /var/log be a
symlink to temp directory.
Therefore in my custom layer I created base-files bbappend file with
following content:

PRINC := "${@int(PRINC) + 1}"

dirs755_append += "${localstatedir}/log"
volatiles = "run lock tmp"

In this recipe I removed "log" from volatiles but it doesn't work.
I'm getting error:
ERROR: Fixup Perms: Unable to correct directory link, target already
exists: /var/log -> /var/volatile/log

How to properly redefine the variable in bbappend file?

Best regards,
Yevhen




More information about the Openembedded-core mailing list