# find gcc and g++ compilers
if cc_version is not None:
factory.addStep(FileDownload(
+ name = "dlfindbinpl",
mastersrc = "findbin.pl",
slavedest = "../findbin.pl",
mode = 0755))
# expire tree if needed
if tree_expire > 0:
factory.addStep(FileDownload(
+ name = "dlexpiresh",
doStepIf = IsExpireRequested,
mastersrc = "expire.sh",
slavedest = "../expire.sh",
# cleanup.sh if needed
factory.addStep(FileDownload(
+ name = "dlcleanupsh",
mastersrc = "cleanup.sh",
slavedest = "../cleanup.sh",
mode = 0755,
# Git() parameters can't take a renderer until buildbot 0.8.10, so we have to split the fresh and clean cases
# if buildbot is updated, one can use: method = Interpolate('%(prop:do_cleanup:#?|fresh|clean)s')
factory.addStep(Git(
+ name = "gitclean",
repourl = repo_url,
branch = repo_branch,
mode = 'full',
))
factory.addStep(Git(
+ name = "gitfresh",
repourl = repo_url,
branch = repo_branch,
mode = 'full',
# seed config
factory.addStep(FileDownload(
+ name = "dlconfigseed",
mastersrc = "config.seed",
slavedest = ".config",
mode = 0644
command = ["sed", "-ne", '/^CONFIG_LIBC=/ { s!^CONFIG_LIBC="\\(.*\\)"!\\1!; s!^musl$!!; s!.\\+!-&!p }', ".config"]))
# install build key
- factory.addStep(FileDownload(mastersrc=home_dir+'/key-build', slavedest="key-build", mode=0600))
- factory.addStep(FileDownload(mastersrc=home_dir+'/key-build.pub', slavedest="key-build.pub", mode=0600))
+ factory.addStep(FileDownload(name="dlkeybuild", mastersrc=home_dir+'/key-build', slavedest="key-build", mode=0600))
+ factory.addStep(FileDownload(name="dlkeybuildpub", mastersrc=home_dir+'/key-build.pub', slavedest="key-build.pub", mode=0600))
# prepare dl
factory.addStep(ShellCommand(
))
factory.addStep(FileDownload(
+ name = "dlsigntargz",
mastersrc = "%s/signing/%s.%s.tar.gz" %(home_dir, ts[0], ts[1]),
slavedest = "sign.tar.gz",
haltOnFailure = True
))
factory.addStep(FileDownload(
- mastersrc = "rsync.sh",
- slavedest = "../rsync.sh",
- mode = 0755))
+ name = "dlrsync.sh",
+ mastersrc = "rsync.sh",
+ slavedest = "../rsync.sh",
+ mode = 0755
+ ))
factory.addStep(ShellCommand(
name = "targetupload",