diff options
-rw-r--r-- | meta/classes/base.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 3edef13d58..9bcf212e95 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -374,6 +374,12 @@ oe_machinstall() { | |||
374 | fi | 374 | fi |
375 | } | 375 | } |
376 | 376 | ||
377 | # Remove and re-create ${D} so that is it guaranteed to be empty | ||
378 | do_install_prepend() { | ||
379 | rm -rf ${D} | ||
380 | mkdir -p ${D} | ||
381 | } | ||
382 | |||
377 | addtask listtasks | 383 | addtask listtasks |
378 | do_listtasks[nostamp] = "1" | 384 | do_listtasks[nostamp] = "1" |
379 | python do_listtasks() { | 385 | python do_listtasks() { |