From 6fa51c276df86e2986601d3cae2434afa35153dc Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 3 Sep 2007 13:05:32 +0000 Subject: base.bbclass: Remove and re-create when installing to ensure that it is empty git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2680 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/base.bbclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 3edef13d5..9bcf212e9 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -374,6 +374,12 @@ oe_machinstall() { fi } +# Remove and re-create ${D} so that is it guaranteed to be empty +do_install_prepend() { + rm -rf ${D} + mkdir -p ${D} +} + addtask listtasks do_listtasks[nostamp] = "1" python do_listtasks() { -- cgit v1.2.3