]> code.ossystems Code Review - openembedded-core.git/commit
populate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIR
authorChen Qi <Qi.Chen@windriver.com>
Tue, 23 Jul 2013 02:56:33 +0000 (10:56 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2013 10:14:14 +0000 (11:14 +0100)
commit7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e
treeac5d2b56d373b5a1ea55e28901a83d07237787cd
parent72d6825c24f4c3e4a7a907cf0a09e2e8f7720ae8
populate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIR

It's possible that a 'No such directory' error occurs when doing
check_requirement in populate-volatile.sh at rootfs time. This is
because the $ROOT_DIR/var/tmp might be a dead link.

Use $ROOT_DIR/var/volatile/tmp as the TMPDIR instead to avoid this
error.

[YOCTO #4883]
[YOCTO #4103]

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