mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
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:
committed by
github-actions[bot]
parent
be125bdb19
commit
1796ea0629
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user