1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

consider "lxc" a secure enviroment

This commit is contained in:
Adrian Schröter 2010-04-14 10:18:01 +02:00
parent 81d329c55d
commit af52098e16

View File

@ -639,7 +639,7 @@ def main(opts, argv):
os.symlink(sffn, tffn)
if bi.pacsuffix == 'rpm':
if config['build-type'] == "xen" or config['build-type'] == "kvm":
if config['build-type'] == "xen" or config['build-type'] == "kvm" or config['build-type'] == "lxc":
print 'Skipping verification of package signatures due to secure VM build'
elif opts.no_verify or opts.noinit:
print 'Skipping verification of package signatures'
@ -660,7 +660,7 @@ def main(opts, argv):
verify_pacs([ i.fullfilename for i in bi.deps ], bi.keys)
elif bi.pacsuffix == 'deb':
if config['build-type'] == "xen" or config['build-type'] == "kvm":
if config['build-type'] == "xen" or config['build-type'] == "kvm" or config['build-type'] == "lxc":
print 'Skipping verification of package signatures due to secure VM build'
elif opts.no_verify or opts.noinit:
print 'Skipping verification of package signatures'