Add Haiku repository config only optionally

The HAIKU_ADD_HAIKU_REPOSITORY_CONFIG build variable can be set to add
the Haiku repository config to the image.
This commit is contained in:
Ingo Weinhold 2014-01-26 15:11:15 +01:00
parent 902fd96ce2
commit bf3d27539b

View File

@ -313,8 +313,12 @@ CopyDirectoryToHaikuImage home config settings Media
: dvb : -x Jamfile ;
# repository config and cache files
local repositories = $(HAIKU_REPOSITORIES) ;
if $(HAIKU_ADD_HAIKU_REPOSITORY_CONFIG) {
repositories += <repository>haiku ;
}
local repository ;
for repository in $(HAIKU_REPOSITORIES) <repository>haiku {
for repository in $(repositories) {
local config = [ on $(repository) return $(HAIKU_REPOSITORY_CONFIG_FILE) ] ;
local cache = [ on $(repository) return $(HAIKU_REPOSITORY_CACHE_FILE) ] ;
if $(HAIKU_UPDATE_ALL_PACKAGES) {