Copy xenserver-patch.tgz into patch.tgz so the systemvm patch process does not fail (ported from master)

This commit is contained in:
Manuel Amador (Rudd-O) 2010-08-29 20:13:28 -07:00
parent 9a03cd9ccb
commit 9fca87fb8e
1 changed files with 9 additions and 0 deletions

View File

@ -246,6 +246,15 @@ if bld.env.DISTRO != "Windows":
bld.process_after(tgen)
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)
# ================== End creation of patch.tgz's ====================