diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-07-23 10:56:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-16 11:14:14 +0100 |
commit | 7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e (patch) | |
tree | ac5d2b56d373b5a1ea55e28901a83d07237787cd /meta/recipes-core | |
parent | 72d6825c24f4c3e4a7a907cf0a09e2e8f7720ae8 (diff) | |
download | openembedded-core-7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e.tar.gz openembedded-core-7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e.tar.bz2 openembedded-core-7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e.zip |
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>
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh b/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh index 91c70efbbd..6b3830883b 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh @@ -19,7 +19,7 @@ ROOT_DIR=`echo $DIRNAME | sed -ne 's:/etc/.*::p'` [ "$ROOTFS_READ_ONLY" = "yes" ] && VOLATILE_ENABLE_CACHE=no CFGDIR="${ROOT_DIR}/etc/default/volatiles" -TMPROOT="${ROOT_DIR}/var/tmp" +TMPROOT="${ROOT_DIR}/var/volatile/tmp" COREDEF="00_core" [ "${VERBOSE}" != "no" ] && echo "Populating volatile Filesystems." |