mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
consider "lxc" a secure enviroment
This commit is contained in:
parent
81d329c55d
commit
af52098e16
@ -639,7 +639,7 @@ def main(opts, argv):
|
|||||||
os.symlink(sffn, tffn)
|
os.symlink(sffn, tffn)
|
||||||
|
|
||||||
if bi.pacsuffix == 'rpm':
|
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'
|
print 'Skipping verification of package signatures due to secure VM build'
|
||||||
elif opts.no_verify or opts.noinit:
|
elif opts.no_verify or opts.noinit:
|
||||||
print 'Skipping verification of package signatures'
|
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)
|
verify_pacs([ i.fullfilename for i in bi.deps ], bi.keys)
|
||||||
elif bi.pacsuffix == 'deb':
|
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'
|
print 'Skipping verification of package signatures due to secure VM build'
|
||||||
elif opts.no_verify or opts.noinit:
|
elif opts.no_verify or opts.noinit:
|
||||||
print 'Skipping verification of package signatures'
|
print 'Skipping verification of package signatures'
|
||||||
|
Loading…
Reference in New Issue
Block a user