Skip to content

Commit

Permalink
infra: Remove temp files after update_iso
Browse files Browse the repository at this point in the history
The `makeupdates` script was executed with `-k` parameter which will
keep `updates` directory after the image is created. In the end it means
that next updates image created will contain all the files from previous
creation.

It wasn't such an issue before rpm unpack was implemented but now it's
causing a mess.
  • Loading branch information
jkonecny12 committed Aug 9, 2024
1 parent 68bf85a commit f393b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/testing/update_iso
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def make_updates_image(git_id, rpm_paths):
# Create the necessary folder structure
os.makedirs(UPDATES_FOLDER, exist_ok=True)
# Prepare updates image
cmd = f"./scripts/makeupdates -k -c -t {git_id}{rpm_args}"
cmd = f"./scripts/makeupdates -c -t {git_id}{rpm_args}"
print("** Calling:", cmd)
os.system(cmd)
# Move it next to the ISOs
Expand Down

0 comments on commit f393b54

Please sign in to comment.