Hello, do_install[cleandirs] = "${D}" will remove and recreate ${D} already if it does not exist. Therefore, putting ${D} in do_install[dirs] is redundant. If ${D} was the last entry in do_install[dirs], then it would become the working directory of do_install. But it is not, so removing it makes no difference. The most important side-effect of fixing it might be to clarify how [cleandirs] works to people reading base.bbclass. Cheers, Ulf
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7358cbf36b6e1da0d51a67258da61226f8013e06