build-rootfs: add trailing newline to platforms.json

It's nice to humans, but also because that's what we currently do in the
cosa build path and I'm trying to achieve zero diff.
This commit is contained in:
Jonathan Lebon 2025-07-18 12:45:24 -04:00
parent b302daf984
commit 5c2a2df048

View file

@ -329,6 +329,7 @@ def inject_platforms_json(rootfs):
if ARCH in platforms:
with open(fn, 'w') as f:
json.dump(platforms[ARCH], f, sort_keys=True, indent=2)
f.write('\n')
if __name__ == "__main__":