config += "OVMF_UPSTREAM_URL ?= file://" + mirrorpath + "ovmf.git\n"
config += "SEABIOS_UPSTREAM_URL ?= file://" + mirrorpath + "seabios.git\n"
config += "MINIOS_UPSTREAM_URL ?= file://" + mirrorpath + "mini-os.git\n"
- config += "QEMU_UPSTREAM_URL ?= file://" + G.repos.XenRepos[TreeQemuU].GetPath() + "\n"
- config += "QEMU_TRADITIONAL_URL ?= file://" + G.repos.XenRepos[TreeQemuT].GetPath() + "\n"
if tr, prs := r.Recipes[TreeQemuU]; prs && tr.HasPatches() {
+ config += "QEMU_UPSTREAM_URL ?= file://" + G.repos.XenRepos[TreeQemuU].GetPath() + "\n"
config += "QEMU_UPSTREAM_REVISION = origin/" + branch + "\n"
+ } else {
+ config += "QEMU_UPSTREAM_URL ?= file://" + mirrorpath + "qemu-xen.git\n"
}
if tr, prs := r.Recipes[TreeQemuT]; prs && tr.HasPatches() {
+ config += "QEMU_TRADITIONAL_URL ?= file://" + G.repos.XenRepos[TreeQemuT].GetPath() + "\n"
config += "QEMU_TRADITIONAL_REVISION = origin/" + branch + "\n"
+ } else {
+ config += "QEMU_TRADITIONAL_URL ?= file://" + mirrorpath + "qemu-xen-traditional.git\n"
}
fmt.Printf("Writing config file:\n%s\n", config)