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:
parent
902fd96ce2
commit
bf3d27539b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user