1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00

tree: import changes from testing-devel at a254ff4170

This commit is contained in:
CoreOS Bot
2025-11-13 09:23:17 +00:00
parent 4edfd8cf9e
commit b1a1144939

View File

@@ -13,6 +13,7 @@
import argparse
import json
import os
import platform
import re
import subprocess
import sys
@@ -84,9 +85,10 @@ def get_y(manifest):
# XXX: should sanity check that the lockfiles for all the basearches have
# matching timestamps
exts = ['json', 'yaml']
basearch = platform.machine()
for ext in exts:
try:
with open(f"src/config/manifest-lock.x86_64.{ext}") as f:
with open(f"src/config/manifest-lock.{basearch}.{ext}") as f:
lockfile = yaml.safe_load(f)
generated = lockfile.get('metadata', {}).get('generated')
if not generated: