<arg><option>--git-ignore-branch</option></arg>
<arg><option>--git-builder=</option><replaceable>BUILD_CMD</replaceable></arg>
<arg><option>--git-cleaner=</option><replaceable>CLEAN_CMD</replaceable></arg>
- <arg><option>--git-pbuilder=</option></arg>
+ <arg><option>--git-[no-]pbuilder</option></arg>
+ <arg><option>--git-[no-]qemubuilder</option></arg>
<arg><option>--git-dist=</option><replaceable>DIST</replaceable></arg>
<arg><option>--git-arch=</option><replaceable>ARCH</replaceable></arg>
<arg><option>--git-[no-]sign-tags</option></arg>
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>--git-qemubuilder</option></term>
+ <listitem>
+ <para>Build package using <command>git-pbuilder</command> with
+ <command>qemubuilder</command>. Note that this overwrites any
+ <option>--git-builder</option> and <option>--git-cleaner</option>
+ options.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>--git-dist=<replaceable>DIST</replaceable></option></term>
<listitem>
<para>Build for distribution <replaceable>DIST</replaceable> when
'multimaint' : 'True',
'multimaint-merge': 'False',
'pbuilder' : 'False',
+ 'qemubuilder' : 'False',
'dist' : 'sid',
'arch' : '',
'interactive' : 'True',
"Build for this distribution when using git-pbuilder, default is '%(dist)s'",
'arch':
"Build for this architecture when using git-pbuilder, default is '%(arch)s'",
+ 'qemubuilder':
+ "Invoke git-pbuilder with qemubuilder for building, default is '%(qemubuilder)s'",
'interactive':
"Run command interactive, default is '%(interactive)s'",
'color':
def setup_pbuilder(options):
"""setup everything to use git-pbuilder"""
- if options.use_pbuilder:
+ if options.use_pbuilder or options.use_qemubuilder:
options.builder = 'git-pbuilder'
options.cleaner = '/bin/true'
os.environ['DIST'] = options.pbuilder_dist
if options.pbuilder_arch:
os.environ['ARCH'] = options.pbuilder_arch
+ if options.use_qemubuilder:
+ os.environ['BUILDER'] = "qemubuilder"
def parse_args(argv, prefix):
cmd_group.add_config_file_option(option_name="posttag", dest="posttag",
help="hook run after a successful tag operation, default is '%(posttag)s'")
cmd_group.add_boolean_config_file_option(option_name="pbuilder", dest="use_pbuilder")
+ cmd_group.add_config_file_option(option_name="qemubuilder", dest="use_qemubuilder")
cmd_group.add_config_file_option(option_name="dist", dest="pbuilder_dist")
cmd_group.add_config_file_option(option_name="arch", dest="pbuilder_arch")
export_group.add_config_file_option(option_name="export-dir", dest="export_dir", type="path",