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:
parent
5061f35c3f
commit
5399d1df38
|
@ -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) ] {
|
||||
|
|
Loading…
Reference in New Issue