mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
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:
@@ -374,6 +374,12 @@ oe_machinstall() {
|
|||||||
fi
|
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
|
addtask listtasks
|
||||||
do_listtasks[nostamp] = "1"
|
do_listtasks[nostamp] = "1"
|
||||||
python do_listtasks() {
|
python do_listtasks() {
|
||||||
|
|||||||
Reference in New Issue
Block a user