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