dom0-updates: force 'C' locale for rpm --checksig call
Otherwise "OK", searched by regex, might be translated (which is the case for es_ES locale).
This commit is contained in:
parent
85dd4a84f6
commit
c103f3713c
@ -64,6 +64,7 @@ def handle_dom0updates(updatevm):
|
|||||||
shutil.rmtree(updates_repodata_dir)
|
shutil.rmtree(updates_repodata_dir)
|
||||||
if os.path.exists(updates_error_file):
|
if os.path.exists(updates_error_file):
|
||||||
os.remove(updates_error_file)
|
os.remove(updates_error_file)
|
||||||
|
os.environ['LC_ALL'] = 'C'
|
||||||
qubes_gid = grp.getgrnam('qubes').gr_gid
|
qubes_gid = grp.getgrnam('qubes').gr_gid
|
||||||
os.mkdir(updates_rpm_dir)
|
os.mkdir(updates_rpm_dir)
|
||||||
os.chown(updates_rpm_dir, -1, qubes_gid)
|
os.chown(updates_rpm_dir, -1, qubes_gid)
|
||||||
|
Loading…
Reference in New Issue
Block a user