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).
This commit is contained in:
Oliver Tappe 2014-09-14 14:29:50 +02:00
parent 5061f35c3f
commit 5399d1df38
1 changed files with 1 additions and 1 deletions

View File

@ -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) ] {