Unverified Commit 65d091b5 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

ubootLibreTechCC: use meta.broken instead of assert (#426888)

parents 7a86a512 c9c857ec
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -315,10 +315,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