Remove unnecessary copy of patch.tgz now that we have the capability to rename xenserver-patch.tgz within the ISO image

This commit is contained in:
Manuel Amador (Rudd-O) 2010-09-01 14:36:49 -07:00
parent 073e1b0a29
commit df0e730faa
2 changed files with 6 additions and 15 deletions

View File

@ -18,12 +18,3 @@ for virttech in Utils.to_list(bld.path.ant_glob("*",dir=True)):
if virttech != "xenserver":
# xenserver uses the patch.tgz file later to make an ISO, so we do not need to install it
bld.install_as("${AGENTLIBDIR}/scripts/vm/hypervisor/%s/patch.tgz"%virttech, "%s-patch.tgz"%virttech)
tgen = bld(
rule = 'cp ${SRC} ${TGT}',
source = 'xenserver-patch.tgz',
target = 'patch.tgz',
after = 'xenserver-patch_tgz',
name = 'patch_tgz'
)
bld.process_after(tgen)

View File

@ -289,11 +289,11 @@ if bld.env.DISTRO not in ["Windows","Mac"]:
# systemvm.zip cannot be built on Windows or Mac because system deps do not exist there
tgen = bld(
rule = iso_up,
source = "patches/patch.tgz target/oss/systemvm.zip",
source = "patches/xenserver-patch.tgz target/oss/systemvm.zip",
target = 'target/oss/systemvm.iso',
name = 'systemvm_iso',
after = 'systemvm_zip patch_tgz',
rename = lambda x: x.split(sep)[-1],
after = 'systemvm_zip xenserver-patch_tgz',
rename = lambda x: x.split(sep)[-1].replace('xenserver-',''),
)
bld.process_after(tgen)
bld.install_as("${AGENTLIBDIR}/vms/systemvm.iso", "target/oss/systemvm.iso")
@ -301,11 +301,11 @@ if bld.env.DISTRO not in ["Windows","Mac"]:
if buildpremium:
tgen = bld(
rule = iso_up,
source = "patches/patch.tgz target/premium/systemvm.zip",
source = "patches/xenserver-patch.tgz target/premium/systemvm.zip",
target = 'target/premium/systemvm.iso',
name = 'systemvm-premium_iso',
after = 'systemvm-premium_zip patch_tgz',
rename = lambda x: x.split(sep)[-1],
after = 'systemvm-premium_zip xenserver-patch_tgz',
rename = lambda x: x.split(sep)[-1].replace('xenserver-',''),
)
bld.process_after(tgen)
bld.install_as("${AGENTLIBDIR}/vms/systemvm-premium.iso", "target/premium/systemvm.iso")