dom0: create directory for rpm updates (#198)
This commit is contained in:
parent
7c5aa0d3ea
commit
4f10835d83
@ -45,6 +45,8 @@ def handle_dom0updates(updatevm):
|
||||
# Clean old packages
|
||||
if os.path.exists(updates_rpm_dir):
|
||||
shutil.rmtree(updates_rpm_dir)
|
||||
os.mkdir(updates_rpm_dir)
|
||||
os.chmod(updates_rpm_dir, 0775)
|
||||
subprocess.check_call(["/usr/lib/qubes/qfile-dom0-unpacker", os.getlogin(), updates_rpm_dir])
|
||||
# Verify received files
|
||||
for f in os.listdir(updates_rpm_dir):
|
||||
|
Loading…
Reference in New Issue
Block a user