diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-05 08:41:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-05 08:41:10 +0000 |
commit | 451ef8b5742be2b8fec596270ae11114842c6a7f (patch) | |
tree | aa8a5500d4761c96104910af43d1f6457d8e3c2d | |
parent | 9c9fad56548f0cb447a538dcfdf390eb39cdc6c5 (diff) | |
download | poky-451ef8b5742be2b8fec596270ae11114842c6a7f.tar.gz |
base.bbclass: Swicth to use cleandirs flag for install task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2694 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/classes/base.bbclass | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 9bcf212e95..ed78c72172 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -374,12 +374,6 @@ 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 | |||
383 | addtask listtasks | 377 | addtask listtasks |
384 | do_listtasks[nostamp] = "1" | 378 | do_listtasks[nostamp] = "1" |
385 | python do_listtasks() { | 379 | python do_listtasks() { |
@@ -695,6 +689,7 @@ python do_populate_staging () { | |||
695 | 689 | ||
696 | addtask install after do_compile | 690 | addtask install after do_compile |
697 | do_install[dirs] = "${D} ${S} ${B}" | 691 | do_install[dirs] = "${D} ${S} ${B}" |
692 | do_install[cleandirs] = "${D}" | ||
698 | 693 | ||
699 | base_do_install() { | 694 | base_do_install() { |
700 | : | 695 | : |