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
This commit is contained in:
Ross Burton
2007-09-03 13:05:32 +00:00
parent 9694023446
commit 6fa51c276d

View File

@@ -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() {