]> code.ossystems Code Review - openembedded-core.git/commit
ptest.bbclass: add cleandirs flag to do_install_ptest_base
authorChen Qi <Qi.Chen@windriver.com>
Thu, 5 Sep 2013 13:58:26 +0000 (13:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Sep 2013 14:25:55 +0000 (15:25 +0100)
commit25885d3b4f679c33a514d858bc20b0e21aa63721
treec4e9abbca5c8169184eeedfa04738bdaa9c84f6f
parentd5a4f031b460437e9501e4e65194ce94d3641130
ptest.bbclass: add cleandirs flag to do_install_ptest_base

The do_install_ptest_base task should have cleandirs flag, just like
the do_install task. The ${D}${PTEST_PATH} directory should be cleaned,
Otherwise, there would be similar errors like below if the
do_install_ptest_base task is rerun.

    ln: failed to create symbolic link `xxx': File exists

[YOCTO #5129]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ptest.bbclass