提交 e443e6a2 编写于 作者: J Joerg Jaspert

notautomatic

build queues can now be notautomatic.
Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 1212bee4
......@@ -530,6 +530,12 @@ class BuildQueue(object):
os.system("""apt-ftparchive -qq -o APT::FTPArchive::Release::Origin="%s" -o APT::FTPArchive::Release::Label="%s" -o APT::FTPArchive::Release::Description="%s" -o APT::FTPArchive::Release::Architectures="%s" release %s > Release""" % (self.origin, self.label, self.releasedescription, arches, bname))
# Crude hack with open and append, but this whole section is and should be redone.
if self.notautomatic:
release=open("Release", "a")
release.write("NotAutomatic: yes")
release.close()
# Sign if necessary
if self.signingkey:
cnf = Config()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册