From 10d62cc9c6b0b159ca170a1c808dbe32a802bc5c Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 28 Aug 2023 12:53:11 -0400 Subject: [PATCH] Clobber extras on headless targets --- builder.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builder.py b/builder.py index c77b892..8c8f81f 100755 --- a/builder.py +++ b/builder.py @@ -143,6 +143,10 @@ def packageBuild(target): data["name"] = target["name"] data["default_os_name"] = target["os_name"] data["package"] = f"{base}.zip" + # Clobber extras as we don't want them on headless builds and + # make-asahi-installer-package.sh doesn't have awareness of the target + if target["id"] == "server" or target["id"] == "minimal": + data["extras"] = {} with open(f"{base}.json", "w") as f: json.dump(data, f)