commit a56823ff64f205b003a962924d94ee3c39571dba
parent be70d122912d010c93075588802acf9bef906576
Author: parazyd <parazyd@dyne.org>
Date: Wed, 5 Jul 2017 12:30:39 +0200
be able to opt out of signing Release files
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/amprolla_merge.py b/amprolla_merge.py
@@ -11,8 +11,8 @@ from time import time
from lib.config import (aliases, arches, banpkgs, categories, cpunm, mergedir,
- mergesubdir, pkgfiles, repos, repo_order, spooldir,
- srcfiles, suites)
+ mergesubdir, pkgfiles, repos, repo_order, signrelease,
+ spooldir, srcfiles, suites)
from lib.package import (load_packages_file, merge_packages_many,
write_packages)
from lib.release import write_release
@@ -135,7 +135,7 @@ def gen_release(suite):
join(spooldir, repos['devuan']['dists']))
print('Writing Release')
- write_release(oldrfl, newrfl, filelist, rootdir)
+ write_release(oldrfl, newrfl, filelist, rootdir, sign=signrelease)
def main_merge(packages_file):
diff --git a/lib/config.def.py b/lib/config.def.py
@@ -11,6 +11,7 @@ logdir = './log'
spooldir = './spool'
gpgdir= './gnupg'
signingkey = 'CA608125'
+signrelease = True
mergedir = './merged-volatile'
mergesubdir = 'dists'
banpkgs = {'systemd', 'systemd-sysv'}