ubootLibreTechCC: use meta.broken instead of assert

This allows filtering the attrpath in CI properly for Eval.

(cherry picked from commit c9c857ecc9)
This commit is contained in:
Wolfgang Walther
2025-07-20 12:54:59 +02:00
committed by github-actions[bot]
parent be125bdb19
commit 1796ea0629

View File

@@ -301,10 +301,12 @@ in
meta.license = lib.licenses.unfreeRedistributableFirmware;
};
in
assert stdenv.buildPlatform.system == "x86_64-linux"; # aml_encrypt_gxl is a x86_64 binary
buildUBoot {
defconfig = "libretech-cc_defconfig";
extraMeta.platforms = [ "aarch64-linux" ];
extraMeta = {
broken = stdenv.buildPlatform.system != "x86_64-linux"; # aml_encrypt_gxl is a x86_64 binary
platforms = [ "aarch64-linux" ];
};
filesToInstall = [ "u-boot.bin" ];
postBuild = ''
# Copy binary files & tools from LibreELEC/amlogic-boot-fip, and u-boot build to working dir