[PATCH blivet] Clean out the mock chroot before attempting to run the rest of the test.

Brian C. Lane bcl at redhat.com
Fri Mar 20 21:03:59 UTC 2015


On Fri, Mar 20, 2015 at 12:15:54PM -0400, Chris Lumens wrote:
> Otherwise it'll get hung up failing to download some package that exists.
> ---
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Makefile b/Makefile
> index 2eb0574..91a038e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -134,6 +134,7 @@ scratch: po-empty
>  	@echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
>  
>  rc-release: scratch-bumpver scratch
> +	mock -r $(MOCKCHROOT) --scrub all || exit 1
>  	mock -r $(MOCKCHROOT) --buildsrpm  --spec ./$(SPECFILE) --sources . --resultdir $(PWD) || exit 1
>  	mock -r $(MOCKCHROOT) --rebuild *src.rpm --resultdir $(PWD)  || exit 1
>  
> -- 
> 2.2.2

Looks good here as well.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list