From: Zac Medico Date: Fri, 28 Mar 2008 05:03:55 +0000 (-0000) Subject: Make dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image and X-Git-Tag: v2.2_pre6~318 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb198446fc0952c802e22f1c1c086fe08fd1e8e0;p=portage.git Make dyn_clean() consistent wrt removal of ${PORTAGE_BUILDDIR}/image and ${PORTAGE_BUILDDIR}/.installed since otherwise with FEATURES=keepwork dyn_install() will not call src_install() as necessary to repopulate ${PORTAGE_BUILDDIR}/image (resulting in install_qa_check failure due to absence of ${PORTAGE_BUILDDIR}/image). svn path=/main/trunk/; revision=9527 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 33c6d12c3..8f22fcab3 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -689,6 +689,7 @@ dyn_clean() { fi rm -rf "${PORTAGE_BUILDDIR}/image" "${PORTAGE_BUILDDIR}/homedir" + rm -f "${PORTAGE_BUILDDIR}/.installed" if ! hasq keeptemp $FEATURES && ! hasq keepwork $FEATURES ; then rm -rf "${T}" @@ -700,7 +701,6 @@ dyn_clean() { rm -rf "${PORTAGE_BUILDDIR}/.unpacked" rm -rf "${PORTAGE_BUILDDIR}/.compiled" rm -rf "${PORTAGE_BUILDDIR}/.tested" - rm -rf "${PORTAGE_BUILDDIR}/.installed" rm -rf "${PORTAGE_BUILDDIR}/.packaged" rm -rf "${PORTAGE_BUILDDIR}/build-info" rm -rf "${WORKDIR}"