]> code.ossystems Code Review - openembedded-core.git/commit
populate-volatile.sh: improve the handling of link config items
authorChen Qi <Qi.Chen@windriver.com>
Wed, 20 Feb 2013 03:28:37 +0000 (11:28 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Mar 2013 11:01:08 +0000 (11:01 +0000)
commita54287d8e3d75a727c8ed5654a822bda256b0849
tree06bb72fff2c015225895a7c808d9565aa1e66e29
parent45396e3edcce4a33fcbef6456f31811f30c26c63
populate-volatile.sh: improve the handling of link config items

Previously, if there's a link config item in the config file like

    l root root 1777 /tmp /var/tmp

and /tmp has existed, the symlink will not be created correctly.

Another example is the /run directory. If /run directory has been
created by some recipe or script before populate-volatile.sh runs,
the symlink of /run to /var/run will not be created correctly.

This patch ensures that the system creates symlinks exactly as the
config file tells it.

[YOCTO #3404]
[YOCTO #3406]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh