]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/logrotate: fix hardcoded root directory
authorYi Zhao <yi.zhao@windriver.com>
Thu, 7 Jan 2016 03:29:53 +0000 (11:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jan 2016 23:23:16 +0000 (23:23 +0000)
commit123ca1c3457e472bd3dab5563f7ba5312a9864bf
tree19544abd2a8cb154c1b79e57caac3d371f1cbd48
parentc9adb8399687b60eb976ab32d960f4b32af71fea
oeqa/runtime/logrotate: fix hardcoded root directory

Use $HOME instead of /home/root in case user changes the default root
directory by ROOT_HOME

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/runtime/logrotate.py