From 5399d1df38d48f970eea4927375edade30d2b636 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 14 Sep 2014 14:29:50 +0200 Subject: [PATCH] Fix (hopefully) bootstrap build with HAIKU_NO_DOWNLOADS=1 * With HAIKU_NO_DOWNLOADS=1, the check against existing package files in the download folder should only be done in the phase that is adding packages to be put onto the resulting target image, not in the phase that is adding the bootstrap packages (as here those packages will be *built*, not downloaded). --- build/jam/RepositoryRules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/RepositoryRules b/build/jam/RepositoryRules index 491e43bbc5..d5d245066f 100644 --- a/build/jam/RepositoryRules +++ b/build/jam/RepositoryRules @@ -43,7 +43,7 @@ rule AddRepositoryPackage repository : architecture : baseName : version : $(baseName) ] ; baseName = $(packageFamily:G=) ; - if $(HAIKU_NO_DOWNLOADS) = 1 { + if $(HAIKU_NO_DOWNLOADS) = 1 && $(HAIKU_BUILD_TYPE) != bootstrap { # Only add packages to repository that already exist in download # directory. if ! [ Glob $(HAIKU_DOWNLOAD_DIR) : $(packageFileName) ] {