From 850931b76f62509df1b55ff3f4151393da0b3807 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 13 Jan 2012 06:14:12 -0800 Subject: dyn_package: remove stale PROOT if necessary --- bin/misc-functions.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index df0493bbe..6094fb7f0 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -1107,6 +1107,7 @@ dyn_package() { local PROOT="${T}/packaging" # make a temporary copy of ${D} so that any modifications we do that # are binpkg specific, do not influence the actual installed image. + rm -rf "${PROOT}" || die "failed removing stale package tree" cp -la "${PORTAGE_BUILDDIR}/image" "${PROOT}" || die "failed creating packaging tree" install_mask "${PROOT}" "${PKG_INSTALL_MASK}" -- cgit v1.2.3-1-g7c22